mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Use 2 different button for CW and CCW
This commit is contained in:
1 parent
45da319ce7
commit
e7bcf9a4c2
11 files changed
+61
-23
No files matched your search
@@ -454,9 +454,16 @@ void TouchControlLayoutScreen::CreateViews() {
|
||||
controls_.push_back(rapidFire);
|
||||
}
|
||||
|
||||
if (g_Config.touchAnalogRotationKey.show) {
|
||||
DragDropButton *analogRotation = new DragDropButton(g_Config.touchAnalogRotationKey, rectImage, ImageID("I_R"));
|
||||
controls_.push_back(analogRotation);
|
||||
if (g_Config.touchAnalogRotationCWKey.show) {
|
||||
DragDropButton *analogRotationCW = new DragDropButton(g_Config.touchAnalogRotationCWKey, rectImage, ImageID("I_ARROW"));
|
||||
analogRotationCW->SetAngle(190.0f, 180.0f);
|
||||
controls_.push_back(analogRotationCW);
|
||||
}
|
||||
|
||||
if (g_Config.touchAnalogRotationCCWKey.show) {
|
||||
DragDropButton *analogRotationCCW = new DragDropButton(g_Config.touchAnalogRotationCCWKey, rectImage, ImageID("I_ARROW"));
|
||||
analogRotationCCW->SetAngle(350.0f, 180.0f);
|
||||
controls_.push_back(analogRotationCCW);
|
||||
}
|
||||
|
||||
if (g_Config.touchLKey.show) {
|
||||
|
||||
Reference in new issue
Block a user