Auto rotating analog

This commit is contained in:
iota97
2020-03-23 00:45:22 +01:00
parent edbd01807b
commit 45da319ce7
11 changed files with 77 additions and 2 deletions
+5
View File
@@ -454,6 +454,11 @@ 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.touchLKey.show) {
controls_.push_back(new DragDropButton(g_Config.touchLKey, shoulderImage, ImageID("I_L")));
}