mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
changed KeyCode to Keycode
This commit is contained in:
Vendored
+3
-3
@@ -2,11 +2,11 @@ package sdl2
|
||||
|
||||
|
||||
SCANCODE_MASK :: 1<<30
|
||||
SCANCODE_TO_KEYCODE :: #force_inline proc "c" (X: Scancode) -> KeyCode {
|
||||
return KeyCode(i32(X) | SCANCODE_MASK)
|
||||
SCANCODE_TO_KEYCODE :: #force_inline proc "c" (X: Scancode) -> Keycode {
|
||||
return Keycode(i32(X) | SCANCODE_MASK)
|
||||
}
|
||||
|
||||
KeyCode :: enum i32 {
|
||||
Keycode :: enum i32 {
|
||||
UNKNOWN = 0,
|
||||
|
||||
RETURN = '\r',
|
||||
|
||||
Reference in New Issue
Block a user