diff options
Diffstat (limited to 'src/surface')
-rw-r--r-- | src/surface/kolibri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/surface/kolibri.c b/src/surface/kolibri.c index 6a7b2dc..25b59e1 100644 --- a/src/surface/kolibri.c +++ b/src/surface/kolibri.c @@ -439,7 +439,7 @@ static bool kolibri_surface_input(nsfb_t *nsfb, nsfb_event_t *event, unsigned diff = previous_mouse_buttons^b; /* All high bits in the XOR represent bits that changed */ - if (diff & 0x1) { + if (diff & 0x1 || diff & 0x10000) { /* Left mouse button */ event->value.keycode = NSFB_KEY_MOUSE_1; /* debug_board_printf("-- Mouse LEFT button : 0x%x\n", b); */ |