diff options
Diffstat (limited to 'include/pugl/pugl.h')
-rw-r--r-- | include/pugl/pugl.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h index 9d29ed8..481754b 100644 --- a/include/pugl/pugl.h +++ b/include/pugl/pugl.h @@ -370,17 +370,13 @@ typedef enum { PUGL_KEY_HOME, PUGL_KEY_END, PUGL_KEY_INSERT, - PUGL_KEY_SHIFT, - PUGL_KEY_SHIFT_L = PUGL_KEY_SHIFT, + PUGL_KEY_SHIFT_L, PUGL_KEY_SHIFT_R, - PUGL_KEY_CTRL, - PUGL_KEY_CTRL_L = PUGL_KEY_CTRL, + PUGL_KEY_CTRL_L, PUGL_KEY_CTRL_R, - PUGL_KEY_ALT, - PUGL_KEY_ALT_L = PUGL_KEY_ALT, + PUGL_KEY_ALT_L, PUGL_KEY_ALT_R, - PUGL_KEY_SUPER, - PUGL_KEY_SUPER_L = PUGL_KEY_SUPER, + PUGL_KEY_SUPER_L, PUGL_KEY_SUPER_R, PUGL_KEY_MENU, PUGL_KEY_CAPS_LOCK, @@ -2142,6 +2138,14 @@ puglRequestAttention(PuglView* view) puglGetViewStyle(view) | PUGL_VIEW_STYLE_DEMANDING); } +# define PUGL_KEY_SHIFT PUGL_KEY_SHIFT_L + +# define PUGL_KEY_CTRL PUGL_KEY_CTRL_L + +# define PUGL_KEY_ALT PUGL_KEY_ALT_L + +# define PUGL_KEY_SUPER PUGL_KEY_SUPER_L + #endif // PUGL_DISABLE_DEPRECATED /** |