summaryrefslogtreecommitdiffhomepage
path: root/gui/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/keyboard.h')
-rw-r--r--gui/keyboard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/keyboard.h b/gui/keyboard.h
index aa4b4a24..b840bc78 100644
--- a/gui/keyboard.h
+++ b/gui/keyboard.h
@@ -22,7 +22,7 @@ public:
{
if(k.guid != "")
{
- joystick_button_pressed(k.guid, k.keycode);
+ joystick_button_pressed(k.guid, k.keycode, k.held);
}
else
{
@@ -54,5 +54,5 @@ public:
#endif
signals:
void key_pressed(QKeySequence k);
- void joystick_button_pressed(QString guid, int idx);
+ void joystick_button_pressed(QString guid, int idx, bool held);
};