![]() ![]() |
![]() ![]() Post #1 | |
![]() Coding like a Rockstar! ![]() Posts: 1,468 From: ??? Joined: 28-May 09 ![]() | A more complete list of keys for 0735 and 0736. SANNY // Mouse Buttons KEY_NO_MOUSE_BUTTON = 0x0 KEY_LMOUSE = 0x1 KEY_MMOUSE = 0x2 KEY_RMOUSE = 0x3 KEY_MSCROLLUP = 0x4 KEY_MSCROLLDOWN = 0x5 KEY_MXB1 = 0x6 KEY_MXB2 = 0x7 // Keyboard Keys KEY_SPACE = 0x20 KEY_COMMA = 0x2C KEY_MINUS = 0x2D KEY_PERIOD = 0x2E KEY_SLASH = 0x2F KEY_0 = 0x30 KEY_1 = 0x31 KEY_2 = 0x32 KEY_3 = 0x33 KEY_4 = 0x34 KEY_5 = 0x35 KEY_6 = 0x36 KEY_7 = 0x37 KEY_8 = 0x38 KEY_9 = 0x39 KEY_EQUALS = 0x3D KEY_A = 0x41 KEY_B = 0x42 KEY_C = 0x43 KEY_D = 0x44 KEY_E = 0x45 KEY_F = 0x46 KEY_G = 0x47 KEY_H = 0x48 KEY_I = 0x49 KEY_J = 0x4A KEY_K = 0x4B KEY_L = 0x4C KEY_M = 0x4D KEY_N = 0x4E KEY_O = 0x4F KEY_P = 0x50 KEY_Q = 0x51 KEY_R = 0x52 KEY_S = 0x53 KEY_T = 0x54 KEY_U = 0x55 KEY_V = 0x56 KEY_W = 0x57 KEY_X = 0x58 KEY_Y = 0x59 KEY_Z = 0x5A KEY_HASH = 0x23 KEY_SEMICOLON = 0x3B KEY_APOSTROPHE = 0x27 KEY_LBRACKET = 0x5B KEY_BACKSLASH = 0x5C KEY_RBRACKET = 0x5D KEY_GRAVE = 0x60 KEY_ESC = 0x3E8 KEY_F1 = 0x3E9 KEY_F2 = 0x3EA KEY_F3 = 0x3EB KEY_F4 = 0x3EC KEY_F5 = 0x3ED KEY_F6 = 0x3EE KEY_F7 = 0x3EF KEY_F8 = 0x3F1 KEY_F9 = 0x3F1 KEY_F10 = 0x3F2 KEY_F11 = 0x3F3 KEY_F12 = 0x3F4 // NumPad KEY_INSERT = 0x3F5 KEY_DELETE = 0x3F6 KEY_HOME = 0x3F7 KEY_END = 0x3F8 KEY_PGUP = 0x3F9 KEY_PGDN = 0x3FA KEY_UP = 0x3FB KEY_DOWN = 0x3FC KEY_LEFT = 0x3FD KEY_RIGHT = 0x3FE KEY_DIVIDE = 0x3FF KEY_MULTIPLY = 0x400 KEY_ADD = 0x401 KEY_SUBTRACT = 0x402 KEY_DECIMAL = 0x403 KEY_NUMPAD1 = 0x404 KEY_NUMPAD2 = 0x405 KEY_NUMPAD3 = 0x406 KEY_NUMPAD4 = 0x407 KEY_NUMPAD5 = 0x408 KEY_NUMLOCK = 0x409 KEY_NUMPAD6 = 0x40A KEY_NUMPAD7 = 0x40B KEY_NUMPAD8 = 0x40C KEY_NUMPAD9 = 0x40D KEY_NUMPAD0 = 0x40E KEY_NUMPADENTER = 0x40F // Keyboard Keys KEY_SCROLL = 0x410 // scroll lock KEY_PAUSE = 0x411 KEY_BACK = 0x412 // backspace KEY_TAB = 0x413 KEY_CAPSLOCK = 0x414 KEY_RETURN = 0x415 KEY_LSHIFT = 0x416 KEY_RSHIFT = 0x417 KEY_LCONTROL = 0x419 KEY_RCONTROL = 0x41A KEY_LMENU = 0x41B // Left Alt KEY_RMENU = 0x41C // Right Alt KEY_LWIN = 0x41D KEY_RWIN = 0x41E KEY_NONE = 0x420 This post has been edited by Deji: Oct 28 2011, 08:18 AM -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |
![]() Post #2 | |
![]() Actually living entity Posts: 143 From: Earth Joined: 15-January 11 ![]() | Thanks for the list! Can you also add Multi Media keys? CODE KEY_NONE = 0x420 What could this be used for? -------------------- |
![]() Post #3 | |
![]() Coding like a Rockstar! ![]() Posts: 1,468 From: ??? Joined: 28-May 09 ![]() | I guess you could add keys, but it would take a lot of function editing. When no key is pressed, 0x420 is stored. -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |
![]() Post #4 | |
![]() Actually living entity Posts: 143 From: Earth Joined: 15-January 11 ![]() | Thanks, now I get it. Its for the special keybord key press checks provided by your ScrDebug mod. Can I run your mod to enable these keypress features without performance costs when not using other debug features, or will it always write a log file or something? -------------------- |
![]() Post #5 | |
![]() Coding like a Rockstar! ![]() Posts: 1,468 From: ??? Joined: 28-May 09 ![]() | ScrDebug is very lightweight and you can turn off debug file writing, debug text displaying and choose which individual opcodes you want. Even with debug file writing turned on, nothing is logged unless you use logging opcodes, I don't think (the original SCM seems to jump past all logging opcodes by default). The only thing you have to watch out for (with 0735 and 0736 enabled) is pressing keys during missions. Because if you have WASD controls (unlike me), missions are incredibly easy ![]() -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |
![]() Post #6 | |
![]() The Assistant Posts: 84 From: Matera, IT Joined: 16-June 11 ![]() | You forgot the Esc button as shown here. ![]() |
![]() Post #7 | |
![]() Coding like a Rockstar! ![]() Posts: 1,468 From: ??? Joined: 28-May 09 ![]() | Oh, added. -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |
![]() Post #8 | |
![]() Actually living entity Posts: 143 From: Earth Joined: 15-January 11 ![]() | Thanks, I will add a ONMISSION check if I will use those key press checks. One more confusing: CODE KEY_NO_MOUSE_BUTTON = 0x0 ? ![]() -------------------- |
![]() Post #9 | |
![]() Member Posts: 130 From: Germany Joined: 24-March 12 ![]() | ScrDebug is the best xD i like mouse keys so much ![]() can you made one for joystick Keys ![]() -------------------- Michael Knight A shadowy flight into the dangerous world of a man who does not exist. Michael Knight, a young loner on a crusade to champion the cause of the innocent, the helpless, the powerless, in a world of criminals who operate above the law. |
![]() Post #10 | |
![]() Coding like a Rockstar! ![]() Posts: 1,468 From: ??? Joined: 28-May 09 ![]() | No. I didn't make the keys, R* made them. They would've been playing SA with a joypad and only using a keyboard (wired into a PS2 debugging station or something) to run debugging commands. And many of the mouse keys can also be used for 0AB0. Don't use ScrDebug opcodes for things you wan't people who download your mod to be able to do... -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |
![]() ![]() |