lordelliott Posted December 17, 2011 Share Posted December 17, 2011 (edited) Hey, I'm trying to understand the code within a controlmap.txt file. I tried Google, but I couldn't find any kind of coding guide. I'm not a programer, but I did learn enough basic html to make a web page back in the 90's (Manually in Notepad, I mean. No FrontPage crap.) :D Anyway, so programing code isn't totally foreign to me, but this stuff just makes hardly any sense. Here's the top of the file (Edit - Whole fill code included): // 1st field: User event name. DO NOT ALTER! This field is used to ID events in the code // 2nd: Keyboard key ID that will proc this event. A value of 0xff means the event is unmapped for this device. // 3rd: Mouse button ID that will proc this event. // 4th: Gamepad button ID that will proc this event. // 5th: If set to 1, this event can be remapped to a keyboard key // 6th: If set to 1, this event can be remapped to a mouse button // 7th: If set to 1, this event can be remapped to a gamepad button // 8th (Optional): User event binary flag. Used to group together related user events, like "Movement" or // "Menu", so they can be toggled on and off together // // Blank lines signify the start of a new input context. // See ControlMap.h for more details on input contexts. // // Main Gameplay Forward 0x11 0xff 0xff 1 1 0 0x801 Back 0x1f 0xff 0xff 1 1 0 0x801 Strafe Left 0x1e 0xff 0xff 1 1 0 0x801 Strafe Right 0x20 0xff 0xff 1 1 0 0x801 Move 0xff 0xff 0x000b 0 0 0 0x801 Look 0xff 0xa 0x000c 0 0 0 0x2 Left Attack/Block 0xff 0x1 0x0009 1 1 1 0x841 Right Attack/Block 0xff 0x0 0x000a 1 1 1 0x841 Activate 0x12 0xff 0x1000 1 1 1 0x804 Ready Weapon 0x13 0xff 0x4000 1 1 1 0x840 Tween Menu 0x0f 0xff 0x2000 1 1 1 0x908 Toggle POV 0x21 0xff 0x0080 1 1 1 0x820 Zoom Out 0xff 0x9 0xff 0 0 0 0x220 Zoom In 0xff 0x8 0xff 0 0 0 0x220 Jump 0x39 0xff 0x8000 1 1 1 0xC01 Sprint 0x38 0xff 0x0100 1 1 1 0x801 Shout 0x2c 0xff 0x0200 1 1 1 0x840 Sneak 0x1d 0xff 0x0040 1 1 1 0x881 Run 0x2a 0xff 0xff 1 1 0 0x801 Toggle Always Run 0x3a 0xff 0xff 1 1 0 0x801 Auto-Move 0x2e 0xff 0xff 1 1 0 0x801 Favorites 0x10 0xff 0x0001,0x0002 1 1 0 0x908 Hotkey1 0x02,0x4f 0xff 0x0004 0 0 0 Hotkey2 0x03,0x50 0xff 0x0008 0 0 0 Hotkey3 0x04,0x51 0xff 0xff 1 0 0 Hotkey4 0x05,0x4b 0xff 0xff 1 0 0 Hotkey5 0x06,0x4c 0xff 0xff 1 0 0 Hotkey6 0x07,0x4d 0xff 0xff 1 0 0 Hotkey7 0x08,0x47 0xff 0xff 1 0 0 Hotkey8 0x09,0x48 0xff 0xff 1 0 0 Quicksave 0x3f 0xff 0xff 1 0 0 Quickload 0x43 0xff 0xff 1 0 0 Wait 0x14 0xff 0x0020 1 1 1 0x808 Journal 0x24 0xff 0x0010 1 1 1 0x808 Pause 0x1 0xff 0xff 1 1 0 0x8 Screenshot 0xb7 0xff 0xff 0 0 0 Multi-Screenshot 0x1d+0xb7,0x9d+0xb7 0xff 0xff 0 0 0 Console 0x29,0x94 0xff 0xff 0 0 0 0x10 CameraPath 0x58 0xff 0xff 0 0 0 Quick Inventory 0x17 0xff 0xff 1 1 0 0x908 Quick Magic 0x19 0xff 0xff 1 1 0 0x908 Quick Stats 0x35 0xff 0xff 1 1 0 0x908 Quick Map 0x32 0xff 0xff 1 1 0 0x908 // Menu Mode Accept !0,Activate 0xff 0x1000 0 0 0 0x8 Cancel 0x0f 0xff 0x2000 0 0 0 0x8 Up !0,Forward 0xff 0x0001 0 0 0 0x8 Down !0,Back 0xff 0x0002 0 0 0 0x8 Left !0,Strafe Left 0xff 0x0004 0 0 0 0x8 Right !0,Strafe Right 0xff 0x0008 0 0 0 0x8 Left Stick 0xff 0xff 0x000b 0 0 0 0x8 Console 0x29 0xff 0xff 0 0 0 0x10 // Console PickPrevious 0xff 0x8 0x0002 0 0 0 0x10 PickNext 0xff 0x9 0x0001 0 0 0 0x10 Up 0xc8 0xff 0xff 0 0 0 0x10 Down 0xd0 0xff 0xff 0 0 0 0x10 PageUp 0xc9 0xff 0xff 0 0 0 0x10 PageDown 0xd1 0xff 0xff 0 0 0 0x10 Console 0x29 0xff 0xff 0 0 0 0x10 NextFocus 0x0f 0xff 0x0200 0 0 0 0x10 PreviousFocus 0x2a+0x0f,0x36+0x0f 0xff 0x0100 0 0 0 0x10 // Item Menus LeftEquip 0xff !0,Left Attack/Block !0,Left Attack/Block 0 0 0 0x8 RightEquip 0xff !0,Right Attack/Block !0,Right Attack/Block 0 0 0 0x8 Item Zoom 0x2e 0xff 0x0080 0 0 0 0x8 Rotate 0xff 0xff 0x000c 0 0 0 0x8 XButton !0,Ready Weapon 0xff 0x4000 0 0 0 0x8 YButton !0,Toggle POV 0xff 0x8000 0 0 0 0x8 Cursor 0xff 0xa 0xff 0 0 0 0x8 // Inventory ChargeItem 0x14 0xff !0,Shout 0 0 0 0x8 // Debug Text PrevPage 0xc8 0xff 0xff 0 0 0 0x10 NextPage 0xd0 0xff 0xff 0 0 0 0x10 PrevSubPage 0xc9 0xff 0xff 0 0 0 0x10 NextSubPage 0xd1 0xff 0xff 0 0 0 0x10 // Favorites menu Up 0x11 0xff 0x0001 0 0 0 0x8 Down 0x1f 0xff 0x0002 0 0 0 0x8 Accept 0x12 0xff 0x1000 0 0 0 0x8 Cancel 0x10,0x0f 0xff 0x2000 0 0 0 0x8 Left Stick 0xff 0xff 0x000b 0 0 0 0x8 Cursor 0xff 0xa 0xff 0 0 0 0x8 // Map Menu Cancel 0x0f 0xff 0x2000 0 0 0 0x8 Look 0xff 0xff 0x000c 0 0 0 0x8 Zoom In 0xff 0x8 0x000a 0 0 0 0x8 Zoom Out 0xff 0x9 0x0009 0 0 0 0x8 MapLookMode 0xff 0x1 0xff 0 0 0 0x8 Click 0xff 0xff 0x1000 0 0 0 0x8 PlacePlayerMarker 0x19 0xff 0xff 0 0 0 0x8 Cursor 0xff 0xa 0x000b 0 0 0 0x8 PlayerPosition 0x12 0xff 0x8000 0 0 0 0x8 LocalMap 0x26 0xff 0x4000 0 0 0 0x8 LocalMapMoveMode 0xff 0x0 0xff 0 0 0 0x8 Up 0x11 0xff 0xff 0 0 0 0x8 Down 0x1f 0xff 0xff 0 0 0 0x8 Left 0x1e 0xff 0xff 0 0 0 0x8 Right 0x20 0xff 0xff 0 0 0 0x8 // Stats Rotate 0xff 0xff 0x000b 0 0 0 0x8 // Cursor Cursor 0xff 0xa 0x000c 0 0 0 0x10 Click 0xff 0x0 0x1000 0 0 0 0x10 // Book PrevPage 0xcb,0x1e 0x0,0x9 0x0004 0 0 0 0x8 NextPage 0xcd,0x20 0x1,0x8 0x0008 0 0 0 0x8 Cancel 0x0f 0xff 0x2000 0 0 0 0x8 // Debug overlay Console 0x29 0xff 0xff 0 0 0 0x10 NextFocus 0x0f 0xff 0x0200 0 0 0 0x10 PreviousFocus 0x2a+0x0f,0x36+0x0f 0xff 0x0100 0 0 0 0x10 Up 0xc8 0xff 0x0001 0 0 0 0x10 Down 0xd0 0xff 0x0002 0 0 0 0x10 Left 0xcb 0xff 0x0004 0 0 0 0x10 Right 0xcd 0xff 0x0008 0 0 0 0x10 PageUp 0xc9 0xff 0xff 0 0 0 0x10 PageDown 0xd1 0xff 0xff 0 0 0 0x10 ToggleMinimize 0x3f 0xff 0x0020 0 0 0 0x10 ToggleMove 0x3e 0xff 0x0080 0 0 0 0x10 Close 0x40 0xff 0xff 0 0 0 0x10 F1 0x3b 0xff 0xff 0 0 0 0x10 F2 0x3c 0xff 0xff 0 0 0 0x10 F3 0x3d 0xff 0xff 0 0 0 0x10 F7 0x41 0xff 0xff 0 0 0 0x10 F8 0x42 0xff 0xff 0 0 0 0x10 F9 0x43 0xff 0xff 0 0 0 0x10 F10 0x44 0xff 0xff 0 0 0 0x10 F11 0x57 0xff 0xff 0 0 0 0x10 F12 0x58 0xff 0xff 0 0 0 0x10 LTrigger 0xff 0xff 0x0009 0 0 0 0x10 RTrigger 0xff 0xff 0x000a 0 0 0 0x10 Backspace 0x0e 0xff 0xff 0 0 0 0x10 Enter 0x1c 0xff 0xff 0 0 0 0x10 B 0xff 0xff 0x2000 0 0 0 0x10 Y 0xff 0xff 0x8000 0 0 0 0x10 X 0xff 0xff 0x4000 0 0 0 0x10 // Journal Zoom In 0xff 0x8 0xff 0 0 0 0x8 Zoom Out 0xff 0x9 0xff 0 0 0 0x8 XButton 0x2d,0x32 0xff 0x4000 0 0 0 0x8 YButton 0x14 0xff 0x8000 0 0 0 0x8 TabSwitch 0xff 0xff 0x0009,0x000a 0 0 0 0x8 // TFC mode CameraZUp 0xff 0x8 0x000a 0 0 0 CameraZDown 0xff 0x9 0x0009 0 0 0 WorldZUp 0xff 0x0 0x0200 0 0 0 WorldZDown 0xff 0x1 0x0100 0 0 0 LockToZPlane 0xff 0xff 0x4000 0 0 0 // Debug Map Menu-like mode (but not the actual map menu) Look 0xff 0xff 0x000c 0 0 0 0x8 Zoom In 0xff 0x8 0x000a 0 0 0 0x8 Zoom Out 0xff 0x9 0x0009 0 0 0 0x8 Move 0xff 0xa 0x000b 0 0 0 0x8 // Lockpicking RotatePick 0xff 0xa 0x000b 0 0 0 0x8 RotateLock 0x1e, 0x20 0xff 0x000c 0 0 0 0x8 DebugMode 0x35 0xff 0x4000 0 0 0 0x8 Cancel 0x0f 0xff 0x2000 0 0 0 0x8 // Favor Cancel 0x0f 0xff 0x2000 0 0 0 0x108 Code cleaned up version: // 1st field: User event name. DO NOT ALTER! This field is used to ID events in the code // 2nd: Keyboard key ID that will proc this event. A value of 0xff means the event is unmapped for this device. // 3rd: Mouse button ID that will proc this event. // 4th: Gamepad button ID that will proc this event. // 5th: If set to 1, this event can be remapped to a keyboard key // 6th: If set to 1, this event can be remapped to a mouse button // 7th: If set to 1, this event can be remapped to a gamepad button // 8th (Optional): User event binary flag. Used to group together related user events, like "Movement" or // "Menu", so they can be toggled on and off together // // Blank lines signify the start of a new input context. // See ControlMap.h for more details on input contexts. // // Main Gameplay Forward 0x11 0xff 0xff 1 1 0 0x801 Back 0x1f 0xff 0xff 1 1 0 0x801 Strafe Left 0x1e 0xff 0xff 1 1 0 0x801 Strafe Right 0x20 0xff 0xff 1 1 0 0x801 Move 0xff 0xff 0x000b 0 0 0 0x801 Look 0xff 0xa 0x000c 0 0 0 0x2 Left Attack/Block 0xff 0x1 0x0009 1 1 1 0x841 Right Attack/Block 0xff 0x0 0x000a 1 1 1 0x841 Activate 0x12 0xff 0x1000 1 1 1 0x804 Ready Weapon 0x13 0xff 0x4000 1 1 1 0x840 Tween Menu 0x0f 0xff 0x2000 1 1 1 0x908 Toggle POV 0x21 0xff 0x0080 1 1 1 0x820 Zoom Out 0xff 0x9 0xff 0 0 0 0x220 Zoom In 0xff 0x8 0xff 0 0 0 0x220 Jump 0x39 0xff 0x8000 1 1 1 0xC01 Sprint 0x38 0xff 0x0100 1 1 1 0x801 Shout 0x2c 0xff 0x0200 1 1 1 0x840 Sneak 0x1d 0xff 0x0040 1 1 1 0x881 Run 0x2a 0xff 0xff 1 1 0 0x801 Toggle Always Run 0x3a 0xff 0xff 1 1 0 0x801 Auto-Move 0x2e 0xff 0xff 1 1 0 0x801 Favorites 0x10 0xff 0x0001,0x0002 1 1 0 0x908 Hotkey1 0x02,0x4f 0xff 0x0004 0 0 0 Hotkey2 0x03,0x50 0xff 0x0008 0 0 0 Hotkey3 0x04,0x51 0xff 0xff 1 0 0 Hotkey4 0x05,0x4b 0xff 0xff 1 0 0 Hotkey5 0x06,0x4c 0xff 0xff 1 0 0 Hotkey6 0x07,0x4d 0xff 0xff 1 0 0 Hotkey7 0x08,0x47 0xff 0xff 1 0 0 Hotkey8 0x09,0x48 0xff 0xff 1 0 0 Quicksave 0x3f 0xff 0xff 1 0 0 Quickload 0x43 0xff 0xff 1 0 0 Wait 0x14 0xff 0x0020 1 1 1 0x808 Journal 0x24 0xff 0x0010 1 1 1 0x808 Pause 0x1 0xff 0xff 1 1 0 0x8 Screenshot 0xb7 0xff 0xff 0 0 0 Multi-Screenshot 0x1d+0xb7,0x9d+0xb7 0xff 0xff 0 0 0 Console 0x29,0x94 0xff 0xff 0 0 0 0x10 CameraPath 0x58 0xff 0xff 0 0 0 Quick Inventory 0x17 0xff 0xff 1 1 0 0x908 Quick Magic 0x19 0xff 0xff 1 1 0 0x908 Quick Stats 0x35 0xff 0xff 1 1 0 0x908 Quick Map 0x32 0xff 0xff 1 1 0 0x908 // Menu Mode Accept !0,Activate 0xff 0x1000 0 0 0 0x8 Cancel 0x0f 0xff 0x2000 0 0 0 0x8 Up !0,Forward 0xff 0x0001 0 0 0 0x8 Down !0,Back 0xff 0x0002 0 0 0 0x8 Left !0,Strafe Left 0xff 0x0004 0 0 0 0x8 Right !0,Strafe Right 0xff 0x0008 0 0 0 0x8 Left Stick 0xff 0xff 0x000b 0 0 0 0x8 Console 0x29 0xff 0xff 0 0 0 0x10 // Console PickPrevious 0xff 0x8 0x0002 0 0 0 0x10 PickNext 0xff 0x9 0x0001 0 0 0 0x10 Up 0xc8 0xff 0xff 0 0 0 0x10 Down 0xd0 0xff 0xff 0 0 0 0x10 PageUp 0xc9 0xff 0xff 0 0 0 0x10 PageDown 0xd1 0xff 0xff 0 0 0 0x10 Console 0x29 0xff 0xff 0 0 0 0x10 NextFocus 0x0f 0xff 0x0200 0 0 0 0x10 PreviousFocus 0x2a+0x0f,0x36+0x0f 0xff 0x0100 0 0 0 0x10 // Item Menus LeftEquip 0xff !0,Left Attack/Block !0,Left Attack/Block 0 0 0 0x8 RightEquip 0xff !0,Right Attack/Block !0,Right Attack/Block 0 0 0 0x8 Item Zoom 0x2e 0xff 0x0080 0 0 0 0x8 Rotate 0xff 0xff 0x000c 0 0 0 0x8 XButton !0,Ready Weapon 0xff 0x4000 0 0 0 0x8 YButton !0,Toggle POV 0xff 0x8000 0 0 0 0x8 Cursor 0xff 0xa 0xff 0 0 0 0x8 // Inventory ChargeItem 0x14 0xff !0,Shout 0 0 0 0x8 // Debug Text PrevPage 0xc8 0xff 0xff 0 0 0 0x10 NextPage 0xd0 0xff 0xff 0 0 0 0x10 PrevSubPage 0xc9 0xff 0xff 0 0 0 0x10 NextSubPage 0xd1 0xff 0xff 0 0 0 0x10 // Favorites menu Up 0x11 0xff 0x0001 0 0 0 0x8 Down 0x1f 0xff 0x0002 0 0 0 0x8 Accept 0x12 0xff 0x1000 0 0 0 0x8 Cancel 0x10,0x0f 0xff 0x2000 0 0 0 0x8 Left Stick 0xff 0xff 0x000b 0 0 0 0x8 Cursor 0xff 0xa 0xff 0 0 0 0x8 // Map Menu Cancel 0x0f 0xff 0x2000 0 0 0 0x8 Look 0xff 0xff 0x000c 0 0 0 0x8 Zoom In 0xff 0x8 0x000a 0 0 0 0x8 Zoom Out 0xff 0x9 0x0009 0 0 0 0x8 MapLookMode 0xff 0x1 0xff 0 0 0 0x8 Click 0xff 0xff 0x1000 0 0 0 0x8 PlacePlayerMarker 0x19 0xff 0xff 0 0 0 0x8 Cursor 0xff 0xa 0x000b 0 0 0 0x8 PlayerPosition 0x12 0xff 0x8000 0 0 0 0x8 LocalMap 0x26 0xff 0x4000 0 0 0 0x8 LocalMapMoveMode 0xff 0x0 0xff 0 0 0 0x8 Up 0x11 0xff 0xff 0 0 0 0x8 Down 0x1f 0xff 0xff 0 0 0 0x8 Left 0x1e 0xff 0xff 0 0 0 0x8 Right 0x20 0xff 0xff 0 0 0 0x8 // Stats Rotate 0xff 0xff 0x000b 0 0 0 0x8 // Cursor Cursor 0xff 0xa 0x000c 0 0 0 0x10 Click 0xff 0x0 0x1000 0 0 0 0x10 // Book PrevPage 0xcb,0x1e 0x0,0x9 0x0004 0 0 0 0x8 NextPage 0xcd,0x20 0x1,0x8 0x0008 0 0 0 0x8 Cancel 0x0f 0xff 0x2000 0 0 0 0x8 // Debug overlay Console 0x29 0xff 0xff 0 0 0 0x10 NextFocus 0x0f 0xff 0x0200 0 0 0 0x10 PreviousFocus 0x2a+0x0f,0x36+0x0f 0xff 0x0100 0 0 0 0x10 Up 0xc8 0xff 0x0001 0 0 0 0x10 Down 0xd0 0xff 0x0002 0 0 0 0x10 Left 0xcb 0xff 0x0004 0 0 0 0x10 Right 0xcd 0xff 0x0008 0 0 0 0x10 PageUp 0xc9 0xff 0xff 0 0 0 0x10 PageDown 0xd1 0xff 0xff 0 0 0 0x10 ToggleMinimize 0x3f 0xff 0x0020 0 0 0 0x10 ToggleMove 0x3e 0xff 0x0080 0 0 0 0x10 Close 0x40 0xff 0xff 0 0 0 0x10 F1 0x3b 0xff 0xff 0 0 0 0x10 F2 0x3c 0xff 0xff 0 0 0 0x10 F3 0x3d 0xff 0xff 0 0 0 0x10 F7 0x41 0xff 0xff 0 0 0 0x10 F8 0x42 0xff 0xff 0 0 0 0x10 F9 0x43 0xff 0xff 0 0 0 0x10 F10 0x44 0xff 0xff 0 0 0 0x10 F11 0x57 0xff 0xff 0 0 0 0x10 F12 0x58 0xff 0xff 0 0 0 0x10 LTrigger 0xff 0xff 0x0009 0 0 0 0x10 RTrigger 0xff 0xff 0x000a 0 0 0 0x10 Backspace 0x0e 0xff 0xff 0 0 0 0x10 Enter 0x1c 0xff 0xff 0 0 0 0x10 B 0xff 0xff 0x2000 0 0 0 0x10 Y 0xff 0xff 0x8000 0 0 0 0x10 X 0xff 0xff 0x4000 0 0 0 0x10 // Journal Zoom In 0xff 0x8 0xff 0 0 0 0x8 Zoom Out 0xff 0x9 0xff 0 0 0 0x8 XButton 0x2d,0x32 0xff 0x4000 0 0 0 0x8 YButton 0x14 0xff 0x8000 0 0 0 0x8 TabSwitch 0xff 0xff 0x0009,0x000a 0 0 0 0x8 // TFC mode CameraZUp 0xff 0x8 0x000a 0 0 0 CameraZDown 0xff 0x9 0x0009 0 0 0 WorldZUp 0xff 0x0 0x0200 0 0 0 WorldZDown 0xff 0x1 0x0100 0 0 0 LockToZPlane 0xff 0xff 0x4000 0 0 0 // Debug Map Menu-like mode (but not the actual map menu) Look 0xff 0xff 0x000c 0 0 0 0x8 Zoom In 0xff 0x8 0x000a 0 0 0 0x8 Zoom Out 0xff 0x9 0x0009 0 0 0 0x8 Move 0xff 0xa 0x000b 0 0 0 0x8 // Lockpicking RotatePick 0xff 0xa 0x000b 0 0 0 0x8 RotateLock 0x1e, 0x20 0xff 0x000c 0 0 0 0x8 DebugMode 0x35 0xff 0x4000 0 0 0 0x8 Cancel 0x0f 0xff 0x2000 0 0 0 0x8 // Favor Cancel 0x0f 0xff 0x2000 0 0 0 0x108 So I think 0x11 refers to a keyboard key, but I'm not really sure about the rest. I don't get the field explanations and can't really tell where the fields are in this mess. What kind of code is this anyway? Please help. Thank you. Edited December 19, 2011 by lordelliott Link to comment Share on other sites More sharing options...
cooltrickle Posted December 17, 2011 Share Posted December 17, 2011 They're just keyboard scan codes for the game controls. If you define W as the forward key, you get: Forward = 00x11 = W Link to comment Share on other sites More sharing options...
lordelliott Posted December 18, 2011 Author Share Posted December 18, 2011 (edited) Thanks. Is that table all inclusive or are there other keyboard scan codes? What about the mouse and gamepad? And what does 0xff mean? That's not in the table. Still have many questions about the file. I'm going to add the rest of the code. Edited December 18, 2011 by lordelliott Link to comment Share on other sites More sharing options...
cooltrickle Posted December 18, 2011 Share Posted December 18, 2011 You should put that code inside a spoiler tag. I'm not sure what 0xff means in this case, possibly 'key not defined'. Anyway, here's a link to a Steam topic that should help you understand this code. My link Link to comment Share on other sites More sharing options...
lordelliott Posted December 19, 2011 Author Share Posted December 19, 2011 (edited) You should put that code inside a spoiler tag. I'm not sure what 0xff means in this case, possibly 'key not defined'. Anyway, here's a link to a Steam topic that should help you understand this code. My linkThanks, that link was helpful. Still looking for equivalent game-pad and mouse hex scan codes. I might be able to figure it out by reading the file more. Also want to know what kind of programing code this is. Does it fall under C++, or what? Posted a cleaned code version. Check the first post. Edit: I can just extrapolate the codes for mouse and game-pad from the file now, I think. Edited December 19, 2011 by lordelliott Link to comment Share on other sites More sharing options...
cooltrickle Posted December 19, 2011 Share Posted December 19, 2011 You're really determined to get to the bottom of this! :biggrin: It's not really code. It's just a list of variables and their hex values, and sticks them into the Skyrim app. If you look at the link again, you should see that the third column of numbers refers to the gamepad controls. It describes how to change the controls if you're left-handed. Link to comment Share on other sites More sharing options...
lordelliott Posted December 19, 2011 Author Share Posted December 19, 2011 (edited) You're really determined to get to the bottom of this! :biggrin: It's not really code. It's just a list of variables and their hex values, and sticks them into the Skyrim app. If you look at the link again, you should see that the third column of numbers refers to the gamepad controls. It describes how to change the controls if you're left-handed.Yes indeed I am! :) I had an idea for a spreadsheet that will help me keep track of key bindings, so I saw this file and thought incorporating info from it would be very useful. But, I had no clue what the stuff in it meant at first, lol. So, this is just a list used by Skyrim to assign key bindings. Hopefully this is a standardized format that works with all games, right? If so, I wonder what the name of the standard is, if there is one. If it's not standardized, it should be. I read over that linked page again, and I think I fully understand fields 1, 2, 3, and 4. 5, 6, and 7 seem to have something to do with allowing you to bind different things in-game. Take this for example: Forward 0x11 0xff 0xff 1 1 0 0x801 This means that Forward is bound to the "W" keyboard key and nothing on the mouse and game-pad. (found out 0xff means unbound) Also, it can be changed to in-game to any keyboard key or mouse button, but not to game-pad buttons. 0x801 is some kind of grouping tag, but I'm not sure when it would be used. I'm going to screw around with this line see what happens. Pray for my PC. :P Edit: Well that was interesting, some stuff worked and some didn't. Who knows why. But I was able to remap Forward to the X button (0x4000) and turn off binding in-game for the keyboard and mouse. I attribute other changes that failed to stuff maybe being hard coded into skyrim or I mods I have interfering. Since I read that this file changes the default bindings, some stuff could override it after game load. Edited December 19, 2011 by lordelliott Link to comment Share on other sites More sharing options...
Recommended Posts