Difference between revisions of "Hako/Modding/Localization/Keyboard"
From Hgames Wiki
< Hako | Modding | Localization
(moved to Hako category) |
m (1 revision) |
(No difference)
|
Revision as of 17:42, 31 August 2012
this page compiles the contents of files related to the keyboard
Intro
This section of the hako-resources is usefull for people with different keyboard-layouts as the default one used by the game install.Example: US, German, etc...
To assign different keys edit key.ini, when posible, with values from key.lst.
key.ini
This file can be found in the data of the hako installation.
Below are the default values for the various sections inside it.
The 'function=keyname' pairs are used as following:
function - game function activated.
keyname - keyname of the scancode used to assign. (See key.lst below)
[STD] RETURN=DIK_RETURN NUMPADENTER=DIK_NUMPADENTER SPACE=DIK_SPACE LSHIFT=DIK_LSHIFT RSHIFT=DIK_RSHIFT LCONTROL=DIK_LCONTROL RCONTROL=DIK_RCONTROL LALT=DIK_LMENU RALT=DIK_RMENU
[SYSTEM] CAP1=DIK_SYSRQ CAP2=DIK_F11 CAP3=NONE ESCAPE=DIK_ESCAPE CONFIG=DIK_F1 STATUS=DIK_F2
[CAMERA] CM_RESET=DIK_R CM_MOVE_F=DIK_UP CM_MOVE_B=DIK_DOWN CM_MOVE_L=DIK_LEFT CM_MOVE_R=DIK_RIGHT CM_MOVE_U=DIK_PRIOR CM_MOVE_D=DIK_NEXT CM_ROT_U=DIK_NUMPAD8 CM_ROT_D=DIK_NUMPAD2 CM_ROT_L=DIK_NUMPAD4 CM_ROT_R=DIK_NUMPAD6 CM_ROT_RESET=DIK_NUMPAD5 CM_ZOOM_F=DIK_HOME CM_ZOOM_B=DIK_END CM_BANK_L=DIK_PERIOD CM_BANK_R=DIK_BACKSLASH CM_BANK_RESET=DIK_SLASH CM_PARSE_L=DIK_SEMICOLON CM_PARSE_R=DIK_RBRACKET CM_PARSE_RESET=DIK_COLON
[GAME] WALL_VANISH=DIK_1 FLR_VANISH=DIK_2 KAGU_VANISH=DIK_3 BK_VANISH=DIK_4 MAN_VANISH=DIK_5 PENIS_VANISH=DIK_6 AT_VANISH=DIK_7 EFCT_VANISH=DIK_8 ACK_SKIP=DIK_SPACE MAN_ZUBON=DIK_Z
[NAME] NM_DELETE=DIK_BACK NM_RESET=DIK_SPACE
key.lst
This file can be found in the base.pp of the hako installation.
Below are the default values used inside it.
The 'scancode<tab>keyname(<tab>keyname)' pairs are used as following:
scancode - hex. scancode returned from keyboard driver.
keyname - keyname for the scancode used to assign. (See key.ini above)
0x00 NONE 0x01 DIK_ESCAPE 0x02 DIK_1 0x03 DIK_2 0x04 DIK_3 0x05 DIK_4 0x06 DIK_5 0x07 DIK_6 0x08 DIK_7 0x09 DIK_8 0x0A DIK_9 0x0B DIK_0 0x0C DIK_MINUS 0x0D DIK_EQUALS 0x0E DIK_BACK DIK_BACKSPACE 0x0F DIK_TAB 0x10 DIK_Q 0x11 DIK_W 0x12 DIK_E 0x13 DIK_R 0x14 DIK_T 0x15 DIK_Y 0x16 DIK_U 0x17 DIK_I 0x18 DIK_O 0x19 DIK_P 0x1A DIK_LBRACKET 0x1B DIK_RBRACKET 0x1C DIK_RETURN 0x1D DIK_LCONTROL 0x1E DIK_A 0x1F DIK_S 0x20 DIK_D 0x21 DIK_F 0x22 DIK_G 0x23 DIK_H 0x24 DIK_J 0x25 DIK_K 0x26 DIK_L 0x27 DIK_SEMICOLON 0x28 DIK_APOSTROPHE 0x29 DIK_GRAVE 0x2A DIK_LSHIFT 0x2B DIK_BACKSLASH 0x2C DIK_Z 0x2D DIK_X 0x2E DIK_C 0x2F DIK_V 0x30 DIK_B 0x31 DIK_N 0x32 DIK_M 0x33 DIK_COMMA 0x34 DIK_PERIOD 0x35 DIK_SLASH 0x36 DIK_RSHIFT 0x37 DIK_MULTIPLY DIK_NUMPADSTAR 0x38 DIK_LMENU DIK_LALT 0x39 DIK_SPACE 0x3A DIK_CAPITAL DIK_CAPSLOCK 0x3B DIK_F1 0x3C DIK_F2 0x3D DIK_F3 0x3E DIK_F4 0x3F DIK_F5 0x40 DIK_F6 0x41 DIK_F7 0x42 DIK_F8 0x43 DIK_F9 0x44 DIK_F10 0x45 DIK_NUMLOCK 0x46 DIK_SCROLL 0x47 DIK_NUMPAD7 0x48 DIK_NUMPAD8 0x49 DIK_NUMPAD9 0x4A DIK_SUBTRACT DIK_NUMPADMINUS 0x4B DIK_NUMPAD4 0x4C DIK_NUMPAD5 0x4D DIK_NUMPAD6 0x4E DIK_ADD DIK_NUMPADPLUS 0x4F DIK_NUMPAD1 0x50 DIK_NUMPAD2 0x51 DIK_NUMPAD3 0x52 DIK_NUMPAD0 0x53 DIK_DECIMAL DIK_NUMPADPERIOD 0x54 0x55 0x56 DIK_OEM_102 0x57 DIK_F11 0x58 DIK_F12 0x59 0x5A 0x5B 0x5C 0x5D 0x5E 0x5F 0x60 0x61 0x62 0x63 0x64 DIK_F13 0x65 DIK_F14 0x66 DIK_F15 0x67 0x68 0x69 0x6A 0x6B 0x6C 0x6D 0x6E 0x6F 0x70 DIK_KANA 0x71 0x72 0x73 DIK_ABNT_C1 0x74 0x75 0x76 0x77 0x78 0x79 DIK_CONVERT 0x7A 0x7B DIK_NOCONVERT 0x7C 0x7D DIK_YEN 0x7E DIK_ABNT_C2 0x7F 0x80 0x81 0x82 0x83 0x84 0x85 0x86 0x87 0x88 0x89 0x8A 0x8B 0x8C 0x8D DIK_NUMPADEQUALS 0x8E 0x8F 0x90 DIK_PREVTRACK DIK_CIRCUMFLEX 0x91 DIK_AT 0x92 DIK_COLON 0x93 DIK_UNDERLINE 0x94 DIK_KANJI 0x95 DIK_STOP 0x96 DIK_AX 0x97 DIK_UNLABELED 0x98 0x99 DIK_NEXTTRACK 0x9A 0x9B 0x9C DIK_NUMPADENTER 0x9D DIK_RCONTROL 0x9E 0x9F 0xA0 DIK_MUTE 0xA1 DIK_CALCULATOR 0xA2 DIK_PLAYPAUSE 0xA3 0xA4 DIK_MEDIASTOP 0xA5 0xA6 0xA7 0xA8 0xA9 0xAA 0xAB 0xAC 0xAD 0xAE DIK_VOLUMEDOWN 0xAF 0xB0 DIK_VOLUMEUP 0xB1 0xB2 DIK_WEBHOME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