Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: bdp on August 29, 2002, 09:57:01 am
-
I'm giving up the search! What the HECK scancode table is Lazarus using??? I have yet to be able to find a scancode table where ESC is 27 and Tab is 9. Can someone post or send me a link to a table of scancodes that works with Lazarus???
Howard: Might be a good idea to put this on the Lazarus site too. Or include a txt file with the program. I just have no idea what number to use to remap the interface keys!
Thanks,
Brad
-
As hc and i use the same keycodes a cut and paste from my fe's keylist.txt:
Virtual Key Codes
vk_BackSpace = 8 vk_Tab = 9 vk_Return = 13
vk_Shift = 16 vk_Control = 17 vk_Alt = 18
vk_Pause = 19 vk_CapsLock = 20 vk_Escape = 27
vk_Space = 32 vk_PageUp = 33 vk_PageDown = 34
vk_End = 35 vk_Home = 36 vk_Left = 37
vk_Up = 38 vk_Right = 39 vk_Down = 40
vk_PrintScreen = 44 vk_Insert = 45 vk_Delete = 46
vk_0 = 48 vk_1 = 49 vk_2 = 50
vk_3 = 51 vk_4 = 52 vk_5 = 53
vk_6 = 54 vk_7 = 55 vk_8 = 56
vk_9 = 57
vk_A = 65 vk_B = 66 vk_C = 67
vk_D = 68 vk_E = 69 vk_F = 70
vk_G = 71 vk_H = 72 vk_I = 73
vk_J = 74 vk_K = 75 vk_L = 76
vk_M = 77 vk_N = 78 vk_O = 79
vk_P = 80 vk_Q = 81 vk_R = 82
vk_S = 83 vk_T = 84 vk_U = 85
vk_V = 86 vk_W = 87 vk_X = 88
vk_Y = 89 vk_Z = 90
vk_LWin = 91 * vk_RWin = 92 * vk_Apps = 93 *
vk_NumPad0 = 96 vk_NumPad1 = 97 vk_NumPad2 = 98
vk_NumPad3 = 99 vk_NumPad4 = 100 vk_NumPad5 = 101
vk_NumPad6 = 102 vk_NumPad7 = 103 vk_NumPad8 = 104
vk_NumPad9 = 105 vk_Multiply = 106 vk_Add = 107
vk_Subtract = 109 vk_Decimal = 110 vk_Divide = 111
vk_F1 = 112 vk_F2 = 113 vk_F3 = 114
vk_F4 = 115 vk_F5 = 116 vk_F6 = 117
vk_F7 = 118 vk_F8 = 119 vk_F9 = 120
vk_F10 = 121 vk_F11 = 122 vk_F12 = 123
vk_F13 = 124 vk_F14 = 125 vk_F15 = 126
vk_F16 = 127
vk_NumLock = 144 vk_ScrollLock = 145 vk_LShift = 160 **
vk_RShift = 161 ** vk_LControl = 162 ** vk_RControl = 163 **
vk_LAlt = 164 ** vk_RAlt = 165 ** vk_SemiColon = 186
vk_Equals = 187 vk_Comma = 188 vk_UnderScore = 189
vk_Period = 190 vk_Slash = 191 vk_BackSlash = 220
vk_RightBrace = 221 vk_LeftBrace = 219 vk_Apostrophe = 222
Peter
-
I'm giving up the search! What the HECK scancode table is Lazarus using??? I have yet to be able to find a scancode table where ESC is 27 and Tab is 9. Can someone post or send me a link to a table of scancodes that works with Lazarus???
Howard: Might be a good idea to put this on the Lazarus site too. Or include a txt file with the program. I just have no idea what number to use to remap the interface keys!
Thanks,
Brad
Well you can redefine keys from within lazarus, so why would I bother?
-
Howard,
I've been having some strange graphics problems with the configuration menu, so I was hoping to do it by hand to make sure that the keys were what I thought they were.
When I start the FE (in Win2000) for the first time, and I hit tab, I can't seem to get the menu to come up unless I move the mouse around and click somewhere. Then it pops up.
Also, how do I actually select an option from the menu? Enter doesn't work. Is the select button the same as the start game button within the frontend itself? I couldn't find this in the documentation anywhere.
I've been having some trouble getting the FE to work and I followed the setup to a tee. I'll hafta check out my error messages and get back to you.
Also, sorry if this was covered before, but is there a way to hide the mouse pointer when lazarus starts?
-
Howard,
I've been having some strange graphics problems with the configuration menu, so I was hoping to do it by hand to make sure that the keys were what I thought they were.
When I start the FE (in Win2000) for the first time, and I hit tab, I can't seem to get the menu to come up unless I move the mouse around and click somewhere. Then it pops up.
Also, how do I actually select an option from the menu? Enter doesn't work. Is the select button the same as the start game button within the frontend itself? I couldn't find this in the documentation anywhere.
I've been having some trouble getting the FE to work and I followed the setup to a tee. I'll hafta check out my error messages and get back to you.
Also, sorry if this was covered before, but is there a way to hide the mouse pointer when lazarus starts?
Ok first off check out your skins... the one's on boris's site aren't coded properly and I don't know if it's corrected yet. Also when the fe starts up you can't immediately go into the tab menu... if you press tab and it disappears just wait a sec and press tab again.
Yes the select key is universal to the fe as are all keys... consult the navigation section of the online manual for more questions on that.
The mouse pointer should disapper after it's not used for a few secs. Don't use it for navigation and you won't see it. :)
All known errors are user errors at this point, so be sure to check out your configuration settings. But if you find something or still can't get it to work email me with a copy of your configuration files.