[retro-gtk] keyboard-key: Implement '{', '|', '}' and '~'
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk] keyboard-key: Implement '{', '|', '}' and '~'
- Date: Fri, 4 May 2018 10:27:40 +0000 (UTC)
commit 5c761f0be5b69fe1e21fb4cbe8d6f9cb76b6207a
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri May 4 12:21:21 2018 +0200
keyboard-key: Implement '{', '|', '}' and '~'
Add the Libretro symbols for these four keys. These being US-ASCII
characters, they were already handled by the code handling all of them.
Also update UNIMPLEMENTED.md accordingly.
UNIMPLEMENTED.md | 9 ---------
retro-gtk/retro-keyboard-key.h | 4 ++++
2 files changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/UNIMPLEMENTED.md b/UNIMPLEMENTED.md
index c9c2a22..4e6a886 100644
--- a/UNIMPLEMENTED.md
+++ b/UNIMPLEMENTED.md
@@ -658,15 +658,6 @@ Input device capabilities are implemented by
## Keyboard
-The following keys are undefined:
-
-```
-RETROK_LEFTBRACE = 123,
-RETROK_BAR = 124,
-RETROK_RIGHTBRACE = 125,
-RETROK_TILDE = 126,
-```
-
The following symbols are defined but unused:
```
diff --git a/retro-gtk/retro-keyboard-key.h b/retro-gtk/retro-keyboard-key.h
index 04b1037..f9ce061 100644
--- a/retro-gtk/retro-keyboard-key.h
+++ b/retro-gtk/retro-keyboard-key.h
@@ -84,6 +84,10 @@ typedef enum {
RETRO_KEYBOARD_KEY_x = 120,
RETRO_KEYBOARD_KEY_y = 121,
RETRO_KEYBOARD_KEY_z = 122,
+ RETRO_KEYBOARD_KEY_LEFTBRACE = 123,
+ RETRO_KEYBOARD_KEY_BAR = 124,
+ RETRO_KEYBOARD_KEY_RIGHTBRACE = 125,
+ RETRO_KEYBOARD_KEY_TILDE = 126,
RETRO_KEYBOARD_KEY_DELETE = 127,
RETRO_KEYBOARD_KEY_KP0 = 256,
RETRO_KEYBOARD_KEY_KP1 = 257,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]