settings: fix return value for mouse gesture callback
This commit is contained in:
parent
a1dc69d203
commit
95dafbe3aa
|
@ -545,7 +545,7 @@ def _feature_mouse_gesture_callback(device):
|
|||
key_index = device.keys.index(key)
|
||||
if key_index is not None and 'raw XY' in device.keys[key_index].flags:
|
||||
return _BooleanV()
|
||||
return False
|
||||
return None
|
||||
|
||||
|
||||
def _feature_mouse_gesture():
|
||||
|
|
Loading…
Reference in New Issue