Load is file relative not module relative
This commit is contained in:
@@ -40,7 +40,7 @@ KeyState :: struct
|
||||
down: Bool
|
||||
|
||||
Key :: enum
|
||||
Nil
|
||||
None
|
||||
Up;Down;Left;Right;Escape;Control;Backspace;Alt;Shift;Tab
|
||||
F1;F2;F3;F4;F5;F6;F7;F8;F9;F10
|
||||
F11;F12;A;B;C;D;E;F;G;H
|
||||
|
||||
@@ -275,12 +275,6 @@ mapping = [
|
||||
["K9", "'9'"],
|
||||
]
|
||||
|
||||
r = "Key :: enum\n "
|
||||
for i,val in enumerate(mapping):
|
||||
r += val[0]
|
||||
if (i+1) % 10 == 0: r += "\n "
|
||||
elif i != len(mapping)-1: r += ";"
|
||||
print(r)
|
||||
|
||||
print("MapVKToKey :: (vk: U32): Key")
|
||||
el = ""
|
||||
@@ -348,5 +342,5 @@ MapVKToKey :: (vk: WPARAM): Key
|
||||
elif vk == '7' ;; return Key.K7
|
||||
elif vk == '8' ;; return Key.K8
|
||||
elif vk == '9' ;; return Key.K9
|
||||
return Key.Nil
|
||||
return Key.None
|
||||
/*END*/
|
||||
Reference in New Issue
Block a user