Fixes, add callback for analog virtual keys

Some fixes
This commit is contained in:
Henrik Rydgård committed 2023-03-31 11:05:33 +02:00
1 parent 8dabcaea7d
commit 526b4f782d
6 files changed
+173 -219

No files matched your search

+1
View File
@@ -450,6 +450,7 @@ void KeyMappingNewMouseKeyDialog::axis(const AxisInput &axis) {
AnalogSetupScreen::AnalogSetupScreen(const Path &gamePath) : UIDialogScreenWithGameBackground(gamePath) {
mapper_.SetCallbacks(
[](int vkey, bool down) {},
[](int vkey, float analogValue) {},
[&](uint32_t bitsToSet, uint32_t bitsToClear) {},
[&](int button, bool down) {},
[&](int stick, float x, float y) {