summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBlack_Fox <radekliska@gmail.com>2019-10-29 16:24:00 +0100
committerBlack_Fox <radekliska@gmail.com>2019-10-29 16:24:00 +0100
commit7d7a838b3d8cae6b9bac1d86f88c86bd12ebdcfb (patch)
treee23e045a1f954f0b03fd187aa443cfc9d0a6daa8 /src
parent268870a51cdc73004fddee7f25cf01097b76354f (diff)
downloadNiGui-7d7a838b3d8cae6b9bac1d86f88c86bd12ebdcfb.tar.gz
NiGui-7d7a838b3d8cae6b9bac1d86f88c86bd12ebdcfb.zip
Implement more keys
Diffstat (limited to 'src')
-rwxr-xr-xsrc/nigui.nim15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/nigui.nim b/src/nigui.nim
index a12966e..102cdbf 100755
--- a/src/nigui.nim
+++ b/src/nigui.nim
@@ -76,11 +76,19 @@ type
Key_CapsLock = 20
Key_Escape = 27
Key_Space = 32
- Key_NumberSign = 35
+ Key_ExclamationMark = 33
+ Key_DoubleQuotes = 34
+ Key_NumberSign = 35
+ Key_Dollar = 36
+ Key_Percent = 37
+ Key_Ampersand = 38
+ Key_OpenParen = 40
+ Key_CloseParen = 41
Key_Plus = 43
Key_Comma = 44
Key_Minus = 45
Key_Point = 46
+ Key_Divide = 47
Key_Number0 = 48
Key_Number1 = 49
Key_Number2 = 50
@@ -92,6 +100,10 @@ type
Key_Number8 = 56
Key_Number9 = 57
Key_Less = 60
+ Key_Equal = 61
+ Key_Greater = 62
+ Key_QuestionMark = 63
+ Key_AtSign = 64
Key_A = 65
Key_B = 66
Key_C = 67
@@ -187,6 +199,7 @@ type
Key_ShiftR
Key_Print
Key_NumpadEnter
+ Key_AltGr = 65027
const
inactiveTimer* = 0