mirror of
https://github.com/X11Libre/xf86-input-joystick.git
synced 2026-04-14 11:54:23 +00:00
disable-keys now really disables sending of keys
This commit is contained in:
@@ -133,6 +133,7 @@ xf86JstkRead(LocalDevicePtr local)
|
||||
break;
|
||||
|
||||
case MAPPING_KEY:
|
||||
if (priv->keys_enabled == TRUE)
|
||||
for (i=0;i<MAXKEYSPERBUTTON;i++) {
|
||||
unsigned int k;
|
||||
if (priv->button[number].pressed == 1)
|
||||
|
||||
Reference in New Issue
Block a user