Closed GreenComfyTea closed 2 years ago
Hey thanks for this, I'll make sure to correct this for the next release. It was so tedious copying down all these keys from the enum, I'm not surprised I made a mistake.
I'll probably rename some of these, but I do also want to try to stay as close as possible to the names used internally in the game.
The bug:
[73]
isJ
instead ofI
and[74]
is missed but should beJ
.Lines 110-114:
Fix:
More: There are also other weird behaviors with in-game keys as well as rename suggestions to match ANSI/ISO/IME keyboard layout. Posting it here just so you would be aware and could find it easily if needed.
[3]
is calledCancel
. Rename suggestion:ControlBreak
.[18]
is calledMenu
. Rename suggestion:Alt
.[19]
is calledPause
. Rename suggestion:PauseBreak
.[20]
is calledCapital
. Rename suggestion:CapsLock
.[21]
is calledKana
. Rename suggestion:Kana/Hangual/Hangul
.[22]
is missing. It'sIME On
.[25]
is calledHanja
. Rename suggestion:Hanja/Kanji
.[26]
is missing. It'sIME Off
.[42]
is calledPrint
. Rename suggestion:PrintScreen
.[48]
-[57]
are calledAlpha0
-Alpha9
. Rename suggestion:0
-9
.[61]
is missing. According to Microsoft Docs it is=+
key but it is not registered by the game.[70]
isF
. The game registers it. But it also registers [254] when pressingF
.[106]
is calledMultiply
. Rename suggestion:Numpad Multiply
orNumpad *
.[107]
is calledAdd
. Rename suggestion:Numpad Add
orNumpad +
.[108]
is calledSeparator
. Rename suggestion:Numpad Separator
.[109]
is calledSubtract
. Rename suggestion:Numpad Subtract
orNumpad -
.[110]
is calledDecimal
. Rename suggestion:Numpad Decimal
orNumpad .
.[111]
is calledDivide
. Rename suggestion:Numpad Divide
orNumpad /
.[145]
is calledScroll
. Rename suggestion:ScrollLock
.[162]
is calledLControl
. Rename suggestion:LeftControl
.[163]
is calledRControl
. Rename suggestion:RightControl
.[164]
is calledLMenu
. Rename suggestion:LAlt
orLeftAlt
.[165]
is calledRMenu
. Rename suggestion:RAlt
orRightAlt
.[186]
isOEM_1
. According to Microsoft Docs it is;:
key but it is not registered by the game. Instead the game registers[187]
when pressing;:
key.[186]
is calledOEM_1
. Rename suggestion:;:
.[187]
is calledOEM_Plus
. Rename suggestion:+
.[188]
is calledOEM_Comma
. Rename suggestion:,<
.[189]
is calledOEM_Minus
. Rename suggestion:-
.[190]
is calledOEM_Period
. Rename suggestion:.>
.[191]
is calledSlash
. Rename suggestion:/?
.[192]
isOEM_3
. According to Microsoft Docs it is\~
key but it is not registered by the game.[192]
is calledOEM_3
. Rename suggestion:~
.[219]
is calledOEM_4
. Rename suggestion:[{
.[220]
is calledOEM_5
. Rename suggestion:\|
.[221]
is calledOEM_6
. Rename suggestion:]}
.[222]
isOEM_7
. According to Microsoft Docs it is'"
key but it is not registered by the game. Instead the game registers[106]
when pressing' "
key.[222]
is calledOEM_7
. Rename suggestion:'"
.[226]
is calledOEM_102
. Rename suggestion:<>
.[220]
is calledBackSlash
and its repeated second time. Should be removed.[254]
is calledDefinedEnter
. Rename suggestion:Clear
.