summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFInput/macsrc/cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/DFInput/macsrc/cfg.c')
-rw-r--r--macosx/plugins/DFInput/macsrc/cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/plugins/DFInput/macsrc/cfg.c b/macosx/plugins/DFInput/macsrc/cfg.c
index f251996d..3e0ee1d5 100644
--- a/macosx/plugins/DFInput/macsrc/cfg.c
+++ b/macosx/plugins/DFInput/macsrc/cfg.c
@@ -672,7 +672,7 @@ int ReadDKeyEvent(int padnum, int key) {
}
// check mouse events
- if (Button()) {
+ if (GetCurrentButtonState()) {
changed = 2;
goto end;
}
@@ -755,7 +755,7 @@ int ReadAnalogEvent(int padnum, int analognum, int analogdir) {
}
// check mouse events
- if (Button()) {
+ if (GetCurrentButtonState()) {
changed = 2;
goto end;
}