diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-08 05:58:45 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-08 06:01:49 +0300 |
commit | 59c972b40ab0bb7a072984c7f787784e0e0b1d9e (patch) | |
tree | 61e1929c9f7085759dc55d01690304f8618c2ae9 /source/blender/windowmanager | |
parent | 88b2bbc649ad588c9f6fcf35d9193e9c8ac86a51 (diff) |
Event System: remove unused NDOF buttons
GHOST always converts NDOF keyboard buttons into keyboard events
so there is no need to expose their values for Blender event types.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/wm_event_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/windowmanager/wm_event_types.h b/source/blender/windowmanager/wm_event_types.h index 5ced501dd49..0a0fdfa769a 100644 --- a/source/blender/windowmanager/wm_event_types.h +++ b/source/blender/windowmanager/wm_event_types.h @@ -275,11 +275,17 @@ enum { NDOF_BUTTON_DOMINANT = 0x01a3, /* 419 */ NDOF_BUTTON_PLUS = 0x01a4, /* 420 */ NDOF_BUTTON_MINUS = 0x01a5, /* 421 */ + +/* Disabled as GHOST converts these to keyboard events + * which use regular keyboard event handling logic. */ +#if 0 /* keyboard emulation */ NDOF_BUTTON_ESC = 0x01a6, /* 422 */ NDOF_BUTTON_ALT = 0x01a7, /* 423 */ NDOF_BUTTON_SHIFT = 0x01a8, /* 424 */ NDOF_BUTTON_CTRL = 0x01a9, /* 425 */ +#endif + /* general-purpose buttons */ NDOF_BUTTON_1 = 0x01aa, /* 426 */ NDOF_BUTTON_2 = 0x01ab, /* 427 */ |