Add an UNKNOWN_KEYSWITCH_LOCATION helper

To be used in places where we have absolutely, positively no clue where a key
event came from, coordinate-wise.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/125/head
Gergely Nagy 8 years ago
parent 1c468752c8
commit 69bc303828

@ -8,6 +8,8 @@
extern const Key keymaps[][ROWS][COLS]; extern const Key keymaps[][ROWS][COLS];
#define UNKNOWN_KEYSWITCH_LOCATION 255,255
// sending events to the computer // sending events to the computer
/* The event handling starts with the Scanner calling handle_key_event() for /* The event handling starts with the Scanner calling handle_key_event() for
* every key in the matrix, and it is the task of this method to figure out what * every key in the matrix, and it is the task of this method to figure out what

Loading…
Cancel
Save