Rapid fire touch control

This commit is contained in:
iota97 committed 2020-01-28 08:52:18 +01:00
1 parent a9302c49f0
commit f42e6a984f
9 files changed
+51 -3

No files matched your search

+6
View File
@@ -453,6 +453,12 @@ void TouchControlLayoutScreen::CreateViews() {
controls_.push_back(speed2);
}
if (g_Config.touchRapidFireKey.show) {
DragDropButton *rapidFire = new DragDropButton(g_Config.touchRapidFireKey, rectImage, I_ARROW);
rapidFire->SetAngle(90.0f, 180.0f);
controls_.push_back(rapidFire);
}
if (g_Config.touchLKey.show) {
controls_.push_back(new DragDropButton(g_Config.touchLKey, shoulderImage, I_L));
}