Load is file relative not module relative

This commit is contained in:
Krzosa Karol
2022-10-09 15:20:53 +02:00
parent 54426fdd69
commit 9ad2da03c8
8 changed files with 16 additions and 21 deletions

View File

@@ -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*/