Using a controller and mousekeyboard simultaneously

Post » Mon May 28, 2012 4:52 pm

I have been trying to accomplish joint 360 Controller and Mouse/keyboard input in the controlmap.txt file since release day of this game and from what I can see, it is just not possible.

As soon as you enable Xbox 360 support in the Options Menu (which you have to in order to enable anologue movement on the left thumbstick), all mouse input and the majority of keyboard input (exceptions include the Quick Save/Quickload keys and the console key) is automatically disabled by the game engine and I remember that the two Fallout games had the same problem.

I like to play using the mouse in my right hand for turning/aiming and attacking, etc - and the controller in my right hand for basically everything else. I do have Pinnacle Game Profiler which is a fantastic program, but unfortunately it can only emulate anologue xinput on the thumbstick if you have enabled controller input in-game, which brings us back to square one ...

I think the automatic disabling of one type of input, if the other type is enabled, is hard coded and unfortunately could only ever be changed by the developer (which I predict they will never do). :(


Stannie
That's been my experience so far. Right now I'm trying to trick the game into thinking a keyboard/mouse is a controller by editing my gamepad.txt and controlmap.txt. No luck so far.
User avatar
K J S
 
Posts: 3326
Joined: Thu Apr 05, 2007 11:50 am

Post » Mon May 28, 2012 9:50 am

Unless I'm mistaken, gamepad.txt is not read by the engine on the PC version and is used exclusively by the console versions. As you probably know, controlmap.txt handles all the 360 bindings and input on PC.

I know what you're trying to do though, because I've already tried it with no success.
User avatar
BethanyRhain
 
Posts: 3434
Joined: Wed Oct 11, 2006 9:50 am

Post » Mon May 28, 2012 4:53 pm

Unless I'm mistaken, gamepad.txt is not read by the engine on the PC version and is used exclusively by the console versions. As you probably know, controlmap.txt handles all the 360 bindings and input on PC.

I know what you're trying to do though, because I've already tried it with no success.
gamepad.txt must be used since that's where the game defines the keycodes and their names. I was hoping that adding all the entries from keyboard_english.txt might do something. But it didn't. Hopefully it's not actually hardcoded to do the switch and we can fix it once the CK comes out.

If all else fails I might look into making an skse/script dragon plugin to trick the game.

EDIT: Does anyone know a good way to find the scan code for a key/input?

EDIT2: OH MY GOD!! I got Keyboard and Controller working at same time, so we're a step closer. I deleted the "8th (Optional: User event binary flag." from every entry. I noticed that Quicksave/Quickload didn't have one set so I figured that this had something to do with disabling the control depending on control set up. Here's my current controlmap.txt still no mouse yet, but we're closer.

// 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	Back				0x1f				0xff	0xff				1	1	0	Strafe Left			0x1e				0xff	0xff				1	1	0	Strafe Right		0x20				0xff	0xff				1	1	0	Move				0xff				0xff	0x000b				1	1	1	Look				0xff				0xa		0x000c				0	0	0	Left Attack/Block	0xff				0x1		0x0009				1	1	1	Right Attack/Block	0xff				0x0		0x000a				1	1	1	Activate			0x12				0xff	0x12				1	1	1	Ready Weapon		0x13				0xff	0x4000				1	1	1	Tween Menu			0x0f				0xff	0x2000				1	1	1	Toggle POV			0x21				0xff	0x0080				1	1	1	Zoom Out			0xff				0x9		0xff				0	0	0	Zoom In				0xff				0x8		0xff				0	0	0	Jump				0x39				0xff	0x8000				1	1	1	Sprint				0x38				0xff	0x0100				1	1	1	Shout				0x2c				0x3		0x0200				1	1	1	Sneak				0x1d				0xff	0x0040				1	1	1	Run					0x2a				0xff	0xff				1	1	0	Toggle Always Run	0x3a				0xff	0xff				1	1	0	Auto-Move			0x2e				0xff	0xff				1	1	0	Favorites			0x10				0xff	0x0001,0x0002		1	1	0	Hotkey1				0x02,0x4f			0xff	0x0004				0	0	0	Hotkey2				0x03,0x50			0xff	0x0008				0	0	0	Hotkey3				0x04,0x51			0xff	0xff				0	0	0	Hotkey4				0x05,0x4b			0xff	0xff				0	0	0	Hotkey5				0x06,0x4c			0xff	0xff				0	0	0	Hotkey6				0x07,0x4d			0xff	0xff				0	0	0	Hotkey7				0x08,0x47			0xff	0xff				0	0	0	Hotkey8				0x09,0x48			0xff	0xff				0	0	0	Quicksave			0x3f				0xff	0xff				1	0	0	Quickload			0x43				0xff	0xff				1	0	0	Wait				0x14				0xff	0x0020				1	1	1	Journal				0x24				0xff	0x0010				1	1	1	Pause				0x1					0xff	0xff				1	1	0	Screenshot			0xb7				0xff	0xff				0	0	0Multi-Screenshot	0x1d+0xb7,0x9d+0xb7	0xff	0xff				0	0	0Console				0x29,0x94			0xff	0xff				0	0	0	CameraPath			0x58				0xff	0xff				0	0	0Quick Inventory		0x17				0xff	0xff				1	1	0	Quick Magic			0x19				0xff	0xff				1	1	0	Quick Stats			0x35				0xff	0xff				1	1	0	Quick Map			0x32				0xff	0xff				1	1	0								// Menu Mode							Accept		!0,Activate				!0,Activate				!0,Activate		0	0	0	Cancel		!0,Tween Menu,!0,Pause	!0,Tween Menu,!0,Pause	!0,Tween Menu	0	0	0	Up			!0,Forward				!0,Forward				0x0001			0	0	0	Down		!0,Back					!0,Back					0x0002			0	0	0	Left		!0,Strafe Left			!0,Strafe Left			0x0004			0	0	0	Right		!0,Strafe Right			!0,Strafe Right			0x0008			0	0	0	Left Stick	0xff					0xff					0x000b			0	0	0	Console		0x29					0xff					0xff			0	0	0	// Console						PickPrevious	0xff				0x8		0x0002	0	0	0	PickNext		0xff				0x9		0x0001	0	0	0	Up				0xc8				0xff	0xff	0	0	0	Down			0xd0				0xff	0xff	0	0	0	PageUp			0xc9				0xff	0xff	0	0	0	PageDown		0xd1				0xff	0xff	0	0	0	Console			0x29				0xff	0xff	0	0	0	NextFocus		0x0f				0xff	0x0200	0	0	0	PreviousFocus	0x2a+0x0f,0x36+0x0f	0xff	0x0100	0	0	0									// Item MenusLeftEquip	!0,Left Attack/Block	!0,Left Attack/Block		!0,Left Attack/Block		0	0	0	RightEquip	!0,Right Attack/Block	!0,Right Attack/Block		!0,Right Attack/Block		0	0	0		Item Zoom	0x2e					0xff						0x0080						0	0	0	Rotate		0xff					0xff						0x000c						0	0	0	XButton		!0,Ready Weapon			!0,Ready Weapon				!0,Ready Weapon				0	0	0	YButton		!0,Toggle POV			!0,Toggle POV				!0,Jump						0	0	0	Cursor		0xff					0xa							0xff						0	0	0	// InventoryChargeItem	!0,Wait	!0,Wait	!0,Shout		0	0	0	// Debug TextPrevPage	0xc8	0xff	0xff	0	0	0	NextPage	0xd0	0xff	0xff	0	0	0	PrevSubPage	0xc9	0xff	0xff	0	0	0	NextSubPage	0xd1	0xff	0xff	0	0	0	// Favorites menuUp			!0,Forward								!0,Forward								0x0001			0	0	0	Down		!0,Back									!0,Back									0x0002			0	0	0	Accept		!0,Activate								!0,Activate								!0,Activate		0	0	0	Cancel		!0,Favorites,!0,Tween Menu,!0,Pause		!0,Favorites,!0,Tween Menu,!0,Pause		!0,Tween Menu	0	0	0	Left Stick	0xff									0xff									0x000b			0	0	0	Cursor		0xff									0xa										0xff			0	0	0	// Map MenuCancel				!0,Tween Menu,!0,Pause	!0,Tween Menu,!0,Pause	!0,Tween Menu	0	0	0	Look				0xff					0xff					0x000c			0	0	0	Zoom In				0xff					0x8						0x000a			0	0	0	Zoom Out			0xff					0x9						0x0009			0	0	0	MapLookMode			0xff					0x1						0xff			0	0	0	Click				0xff					0xff					0x1000			0	0	0	PlacePlayerMarker	0x19					0xff					0xff			0	0	0	Cursor				0xff					0xa						0x000b			0	0	0	PlayerPosition		0x12					0xff					0x8000			0	0	0	LocalMap			0x26					0xff					0x4000			0	0	0	LocalMapMoveMode	0xff					0x0						0xff			0	0	0	Up					!0,Forward				!0,Forward				0xff			0	0	0	Down				!0,Back					!0,Back					0xff			0	0	0	Left				!0,Strafe Left			!0,Strafe Left			0xff			0	0	0	Right				!0,Strafe Right			!0,Strafe Right			0xff			0	0	0	// StatsRotate	0xff	0xff	0x000b	0	0	0	// CursorCursor	0xff	0xa	0x000c	0	0	0	Click	0xff	0x0	0x1000	0	0	0	// BookPrevPage	0xcb,0x1e	0x0,0x9		0x0004	0	0	0	NextPage	0xcd,0x20	0x1,0x8		0x0008	0	0	0	// Debug overlayConsole			0x29				0xff	0xff	0	0	0	NextFocus		0x0f				0xff	0x0200	0	0	0	PreviousFocus	0x2a+0x0f,0x36+0x0f	0xff	0x0100	0	0	0	0x10Up				0xc8				0xff	0x0001	0	0	0	0x10Down			0xd0				0xff	0x0002	0	0	0	0x10Left			0xcb				0xff	0x0004	0	0	0	0x10Right			0xcd				0xff	0x0008	0	0	0	0x10PageUp			0xc9				0xff	0xff	0	0	0	0x10PageDown		0xd1				0xff	0xff	0	0	0	0x10ToggleMinimize	0x3f				0xff	0x0020	0	0	0	0x10ToggleMove		0x3e				0xff	0x0080	0	0	0	0x10Close			0x40				0xff	0xff	0	0	0	0x10F1				0x3b				0xff	0xff	0	0	0	0x10F2				0x3c				0xff	0xff	0	0	0	0x10F3				0x3d				0xff	0xff	0	0	0	0x10F7				0x41				0xff	0xff	0	0	0	0x10F8				0x42				0xff	0xff	0	0	0	0x10F9				0x43				0xff	0xff	0	0	0	0x10F10				0x44				0xff	0xff	0	0	0	0x10F11				0x57				0xff	0xff	0	0	0	0x10F12				0x58				0xff	0xff	0	0	0	0x10LTrigger		0xff				0xff	0x0009	0	0	0	0x10RTrigger		0xff				0xff	0x000a	0	0	0	0x10Backspace		0x0e				0xff	0xff	0	0	0	0x10Enter			0x1c				0xff	0xff	0	0	0	0x10B				0xff				0xff	0x2000	0	0	0	0x10Y				0xff				0xff	0x8000	0	0	0	0x10X				0xff				0xff	0x4000	0	0	0	0x10// JournalZoom In		0xff		0x8		0xff			0	0	0	Zoom Out	0xff		0x9		0xff			0	0	0	XButton		0x2d,0x32	0xff	0x4000			0	0	0	YButton		0x14		0xff	0x8000			0	0	0	TabSwitch	0xff		0xff	0x0009,0x000a	0	0	0	// TFC modeCameraZUp		0xff	0x8		0x000a	0	0	0CameraZDown		0xff	0x9		0x0009	0	0	0WorldZUp		0xff	0x0		0x0200	0	0	0WorldZDown		0xff	0x1		0x0100	0	0	0LockToZPlane	0xff	0xff	0x4000	0	0	0// Debug Map Menu-like mode (but not the actual map menu)Look				0xff	0xff	0x000c	0	0	0	Zoom In				0xff	0x8		0x000a	0	0	0	Zoom Out			0xff	0x9		0x0009	0	0	0	Move				0xff	0xa		0x000b	0	0	0	// LockpickingRotatePick			0xff													0xa														0x000b			0	0	0	RotateLock			!0,Forward,!0,Back,!0,Strafe Left,!0,Strafe Right		!0,Forward,!0,Back,!0,Strafe Left,!0,Strafe Right		0x000c			0	0	0	DebugMode			0x35													0xff													0x4000			0	0	0	Cancel				!0,Tween Menu,!0,Pause									!0,Tween Menu,!0,Pause									!0,Tween Menu	0	0	0	// FavorCancel		!0,Tween Menu,!0,Pause	!0,Tween Menu,!0,Pause	!0,Tween Menu	0	0	0	
User avatar
Trista Jim
 
Posts: 3308
Joined: Sat Aug 25, 2007 10:39 pm

Post » Mon May 28, 2012 5:12 pm

gamepad.txt must be used since that's where the game defines the keycodes and their names. I was hoping that adding all the entries from keyboard_english.txt might do something. But it didn't. Hopefully it's not actually hardcoded to do the switch and we can fix it once the CK comes out.

If all else fails I might look into making an skse/script dragon plugin to trick the game.

EDIT: Does anyone know a good way to find the scan code for a key/input?

Ah yes, sorry, I was thinking of gamepad.txt in the 360 folder (in Skyrim - Interface.bsa), but you're right, there's one in the PC folder as well.

Good luck with the script and please report back any success.


Stannie
User avatar
Carlos Rojas
 
Posts: 3391
Joined: Thu Aug 16, 2007 11:19 am

Post » Mon May 28, 2012 7:22 am

Ah yes, sorry, I was thinking of gamepad.txt in the 360 folder (in Skyrim - Interface.bsa), but you're right, there's one in the PC folder as well.

Good luck with the script and please report back any success.


Stannie
I'm 1 step closer! I don't know if you saw the edits I added, but I've gotten the game to use controller and keyboard simultaneously. And I got the camera to move around sporadically but it wasn't anything usable. It even recognized left and right click.

Here's my controlmap.txt if you want to play around with it.
Spoiler
// 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
Back 0x1f 0xff 0xff 1 1 0
Strafe Left 0x1e 0xff 0xff 1 1 0
Strafe Right 0x20 0xff 0xff 1 1 0
Move 0xff 0xff 0x000b 1 1 1
Look 0xff 0xa 0x000c 0 0 0
Left Attack/Block 0xff 0x1 0x0009 1 1 1
Right Attack/Block 0xff 0x0 0x000a 1 1 1
Activate 0x12 0xff 0x12 1 1 1
Ready Weapon 0x13 0xff 0x4000 1 1 1
Tween Menu 0x0f 0xff 0x2000 1 1 1
Toggle POV 0x21 0xff 0x0080 1 1 1
Zoom Out 0xff 0x9 0xff 0 0 0
Zoom In 0xff 0x8 0xff 0 0 0
Jump 0x39 0xff 0x8000 1 1 1
Sprint 0x38 0xff 0x0100 1 1 1
Shout 0x2c 0x3 0x0200 1 1 1
Sneak 0x1d 0xff 0x0040 1 1 1
Run 0x2a 0xff 0xff 1 1 0
Toggle Always Run 0x3a 0xff 0xff 1 1 0
Auto-Move 0x2e 0xff 0xff 1 1 0
Favorites 0x10 0xff 0x0001,0x0002 1 1 0
Hotkey1 0x02,0x4f 0xff 0x0004 0 0 0
Hotkey2 0x03,0x50 0xff 0x0008 0 0 0
Hotkey3 0x04,0x51 0xff 0xff 0 0 0
Hotkey4 0x05,0x4b 0xff 0xff 0 0 0
Hotkey5 0x06,0x4c 0xff 0xff 0 0 0
Hotkey6 0x07,0x4d 0xff 0xff 0 0 0
Hotkey7 0x08,0x47 0xff 0xff 0 0 0
Hotkey8 0x09,0x48 0xff 0xff 0 0 0
Quicksave 0x3f 0xff 0xff 1 0 0
Quickload 0x43 0xff 0xff 1 0 0
Wait 0x14 0xff 0x0020 1 1 1
Journal 0x24 0xff 0x0010 1 1 1
Pause 0x1 0xff 0xff 1 1 0
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
CameraPath 0x58 0xff 0xff 0 0 0
Quick Inventory 0x17 0xff 0xff 1 1 0
Quick Magic 0x19 0xff 0xff 1 1 0
Quick Stats 0x35 0xff 0xff 1 1 0
Quick Map 0x32 0xff 0xff 1 1 0

// Menu Mode
Accept !0,Activate !0,Activate !0,Activate 0 0 0
Cancel !0,Tween Menu,!0,Pause !0,Tween Menu,!0,Pause !0,Tween Menu 0 0 0
Up !0,Forward !0,Forward 0x0001 0 0 0
Down !0,Back !0,Back 0x0002 0 0 0
Left !0,Strafe Left !0,Strafe Left 0x0004 0 0 0
Right !0,Strafe Right !0,Strafe Right 0x0008 0 0 0
Left Stick 0xff 0xff 0x000b 0 0 0
Console 0x29 0xff 0xff 0 0 0

// Console
PickPrevious 0xff 0x8 0x0002 0 0 0
PickNext 0xff 0x9 0x0001 0 0 0
Up 0xc8 0xff 0xff 0 0 0
Down 0xd0 0xff 0xff 0 0 0
PageUp 0xc9 0xff 0xff 0 0 0
PageDown 0xd1 0xff 0xff 0 0 0
Console 0x29 0xff 0xff 0 0 0
NextFocus 0x0f 0xff 0x0200 0 0 0
PreviousFocus 0x2a+0x0f,0x36+0x0f 0xff 0x0100 0 0 0

// Item Menus
LeftEquip !0,Left Attack/Block !0,Left Attack/Block !0,Left Attack/Block 0 0 0
RightEquip !0,Right Attack/Block !0,Right Attack/Block !0,Right Attack/Block 0 0 0
Item Zoom 0x2e 0xff 0x0080 0 0 0
Rotate 0xff 0xff 0x000c 0 0 0
XButton !0,Ready Weapon !0,Ready Weapon !0,Ready Weapon 0 0 0
YButton !0,Toggle POV !0,Toggle POV !0,Jump 0 0 0
Cursor 0xff 0xa 0xff 0 0 0

// Inventory
ChargeItem !0,Wait !0,Wait !0,Shout 0 0 0

// Debug Text
PrevPage 0xc8 0xff 0xff 0 0 0
NextPage 0xd0 0xff 0xff 0 0 0
PrevSubPage 0xc9 0xff 0xff 0 0 0
NextSubPage 0xd1 0xff 0xff 0 0 0

// Favorites menu
Up !0,Forward !0,Forward 0x0001 0 0 0
Down !0,Back !0,Back 0x0002 0 0 0
Accept !0,Activate !0,Activate !0,Activate 0 0 0
Cancel !0,Favorites,!0,Tween Menu,!0,Pause !0,Favorites,!0,Tween Menu,!0,Pause !0,Tween Menu 0 0 0
Left Stick 0xff 0xff 0x000b 0 0 0
Cursor 0xff 0xa 0xff 0 0 0

// Map Menu
Cancel !0,Tween Menu,!0,Pause !0,Tween Menu,!0,Pause !0,Tween Menu 0 0 0
Look 0xff 0xff 0x000c 0 0 0
Zoom In 0xff 0x8 0x000a 0 0 0
Zoom Out 0xff 0x9 0x0009 0 0 0
MapLookMode 0xff 0x1 0xff 0 0 0
Click 0xff 0xff 0x1000 0 0 0
PlacePlayerMarker 0x19 0xff 0xff 0 0 0
Cursor 0xff 0xa 0x000b 0 0 0
PlayerPosition 0x12 0xff 0x8000 0 0 0
LocalMap 0x26 0xff 0x4000 0 0 0
LocalMapMoveMode 0xff 0x0 0xff 0 0 0
Up !0,Forward !0,Forward 0xff 0 0 0
Down !0,Back !0,Back 0xff 0 0 0
Left !0,Strafe Left !0,Strafe Left 0xff 0 0 0
Right !0,Strafe Right !0,Strafe Right 0xff 0 0 0

// Stats
Rotate 0xff 0xff 0x000b 0 0 0

// Cursor
Cursor 0xff 0xa 0x000c 0 0 0
Click 0xff 0x0 0x1000 0 0 0

// Book
PrevPage 0xcb,0x1e 0x0,0x9 0x0004 0 0 0
NextPage 0xcd,0x20 0x1,0x8 0x0008 0 0 0

// Debug overlay
Console 0x29 0xff 0xff 0 0 0
NextFocus 0x0f 0xff 0x0200 0 0 0
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
Zoom Out 0xff 0x9 0xff 0 0 0
XButton 0x2d,0x32 0xff 0x4000 0 0 0
YButton 0x14 0xff 0x8000 0 0 0
TabSwitch 0xff 0xff 0x0009,0x000a 0 0 0

// 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
Zoom In 0xff 0x8 0x000a 0 0 0
Zoom Out 0xff 0x9 0x0009 0 0 0
Move 0xff 0xa 0x000b 0 0 0

// Lockpicking
RotatePick 0xff 0xa 0x000b 0 0 0
RotateLock !0,Forward,!0,Back,!0,Strafe Left,!0,Strafe Right !0,Forward,!0,Back,!0,Strafe Left,!0,Strafe Right 0x000c 0 0 0
DebugMode 0x35 0xff 0x4000 0 0 0
Cancel !0,Tween Menu,!0,Pause !0,Tween Menu,!0,Pause !0,Tween Menu 0 0 0

// Favor
Cancel !0,Tween Menu,!0,Pause !0,Tween Menu,!0,Pause !0,Tween Menu 0 0 0

EDIT: Mouse works on map menu.

EDIT2: Were you ever able to find the ControlMap.h mentioned in the txt file?
User avatar
Rachel Eloise Getoutofmyface
 
Posts: 3445
Joined: Mon Oct 09, 2006 5:20 pm

Post » Mon May 28, 2012 3:10 pm

Well done, mate.

I am trying it out now. Unfortunately, your controlmap.txt is crashing my game on startup at the moment, so I'm going to edit mine and see if I have any luck.

Will report back in later.
User avatar
Katey Meyer
 
Posts: 3464
Joined: Sat Dec 30, 2006 10:14 pm

Post » Mon May 28, 2012 3:45 pm

Well done, mate.

I am trying it out now. Unfortunately, your controlmap.txt is crashing my game on startup at the moment, so I'm going to edit mine and see if I have any luck.

Will report back in later.
How odd. To test it just delete the "0x804" on the same line as Activate. If it worked you should be able to use your A button or your E key to activate. If that works the rest would work.

EDIT: With my set up the mouse lets you look around very jerkily if you barely move the stick. I'm wondering if it's something going nuts in x360ce now.

EDIT: Forgot to include my gamepad.txt that might have caused the crashing.

// 1st field: Gamepad button name.  DO NOT ALTER!  This field is used to ID events in the code// 2nd: Key hardware value.  Matches XINPUT_GAMEPAD_* enum values on 360Up	0x0001Down	0x0002Left	0x0004Right	0x0008360_Start	0x0010360_Back	0x0020360_L3	0x0040360_R3	0x0080360_LB	0x0100360_RB	0x0200360_A	0x1000360_B	0x2000360_X	0x4000360_Y	0x8000// NOTE: The below hardware values are arbitrary, since there are no XINPUT_GAMEPAD values for them360_LT	0x0009360_RT	0x000a360_LS	0x000b360_RS	0x000c// 1st field: Keyboard key name, e.g. "Spacebar".  DO NOT ALTER!  This field is used to ID events in the code// 2nd: Key hardware value.  Matches DIK_* virtual key codes on PC// 3rd (Optional): Flash key code.  Used by Scaleform IO.  Not every key has a Flash key code.Esc	0x01	271	0x02	492	0x03	503	0x04	514	0x05	525	0x06	536	0x07	547	0x08	558	0x09	569	0x0a	570	0x0b	48Hyphen	0x0c	189Equal	0x0d	187Backspace	0x0e	8Tab	0x0f	9Q	0x10	81W	0x11	87E	0x12	69R	0x13	82T	0x14	84Y	0x15	89U	0x16	85I	0x17	73O	0x18	79P	0x19	80Bracketleft	0x1a	219Bracketright	0x1b	221Enter	0x1c	13L-Ctrl	0x1d	17A	0x1e	65S	0x1f	83D	0x20	68F	0x21	70G	0x22	71H	0x23	72J	0x24	74K	0x25	75L	0x26	76Semicolon	0x27	186Quotesingle	0x28	222Tilde	0x29	192L-Shift	0x2a	16Backslash	0x2b	220Z	0x2c	90X	0x2d	88C	0x2e	67V	0x2f	86B	0x30	66N	0x31	78M	0x32	77Comma	0x33	188Period	0x34	190Slash	0x35	191R-Shift	0x36	16NumPadMult	0x37	106L-Alt	0x38	18Space	0x39	32CapsLock	0x3a	20F1	0x3b	112F2	0x3c	113F3	0x3d	114F4	0x3e	115F5	0x3f	116F6	0x40	117F7	0x41	118F8	0x42	119F9	0x43	120F10	0x44	121NumLock	0x45	144ScrollLock	0x46	145NumPad7	0x47	103NumPad8	0x48	104NumPad9	0x49	105NumPadMinus	0x4a	109NumPad4	0x4b	100NumPad5	0x4c	101NumPad6	0x4d	102NumPadPlus	0x4e	107NumPad1	0x4f	97NumPad2	0x50	98NumPad3	0x51	99NumPad0	0x52	96NumPadDec	0x53	110DIK_OEM_102	0x56F11	0x57	122F12	0x58	123F13	0x64	124F14	0x65	125F15	0x66	126DIK_KANA	0x70DIK_ABNT_C1	0x73DIK_CONVERT	0x79DIK_NOCONVERT	0x7b¥	0x7dDIK_ABNT_C2	0x7eNumPadEqual	0x8dPrev Track	0x90DIK_AT	0x91:	0x92DIK_UNDERLINE	0x93DIK_KANJI	0x94DIK_STOP	0x95DIK_AX	0x96DIK_UNLABELED	0x97Next Track	0x99NumPadEnter	0x9c	108R-Ctrl	0x9d	17Mute	0xa0Calc	0xa1Play/Pause	0xa2MediaStop	0xa4Vol-	0xaeVol+	0xb0WebHome	0xb2NumPadComma	0xb3NumPadDivide	0xb5	111PrintSrc	0xb7R-Alt	0xb8	18Pause	0xc5	19Home	0xc7	36Up	0xc8	38PgUp	0xc9	33Left	0xcb	37Right	0xcd	39End	0xcf	35Down	0xd0	40PgDn	0xd1	34Insert	0xd2	45Delete	0xd3	46L-Windows	0xdbR-Windows	0xdcApps	0xddPower	0xdeSleep	0xdfWake	0xe3WebSearch	0xe5WebFavorites	0xe6WebRefresh	0xe7WebStop	0xe8WebForward	0xe9WebBack	0xeaMy Computer	0xebMail	0xecMediaSelect	0xedMouse1	0x0	0Mouse2	0x1	1Mouse3	0x2	2Mouse4	0x3	Mouse5	0x4	Mouse6	0x5	Mouse7	0x6	Mouse8	0x7	MouseWheelUp	0x8	MouseWheelDown	0x9	MouseMove	0xa	
User avatar
Danielle Brown
 
Posts: 3380
Joined: Wed Sep 27, 2006 6:03 am

Post » Mon May 28, 2012 4:49 pm

Okay, got it working now. Well done on getting the keyboard working. Funny I could have sworn I came to the same conclusion over the quicksave/quickload not having the optional 8th entry, but it never worked for me before. I must have missed something. No worries, it does now, thanks.

The big one for me is the mouse. If we can crack that, it's mead all round. :)


Stannie
User avatar
Andrea P
 
Posts: 3400
Joined: Mon Feb 12, 2007 7:45 am

Post » Mon May 28, 2012 9:32 pm

Okay, got it working now. Well done on getting the keyboard working. Funny I could have sworn I came to the same conclusion over the quicksave/quickload not having the optional 8th entry, but it never worked for me before. I must have missed something. No worries, it does now, thanks.

The big one for me is the mouse. If we can crack that, it's mead all round. :)


Stannie
I've got working but it's really twitchy and inconsistent. I think it might be something in the xinput emulation. Are you using an xbox pad or something else?
User avatar
Lou
 
Posts: 3518
Joined: Wed Aug 23, 2006 6:56 pm

Post » Mon May 28, 2012 7:15 am

I'm on the real thing, Xbox 360 controller (wired), so no xinput emulation required. And I get nothing, twitchy or not.
User avatar
Lloyd Muldowney
 
Posts: 3497
Joined: Wed May 23, 2007 2:08 pm

Post » Mon May 28, 2012 4:51 pm

I'm going to start nosing around skyrim.esm this afternoon and see if I can unearth anything.

EDIT: I wish we could just reverse engineer a Xim to get mouse motion in xinput... :P

EDIT2: I emailed gamesas support, hopefully they get back to me. :)
User avatar
Ricky Rayner
 
Posts: 3339
Joined: Fri Jul 13, 2007 2:13 am

Post » Mon May 28, 2012 9:38 pm

I emailed gamesas support, hopefully they get back to me. :)

Hmm. Good luck with that. ;)
User avatar
Lil Miss
 
Posts: 3373
Joined: Thu Nov 23, 2006 12:57 pm

Post » Mon May 28, 2012 9:27 pm

Hmm. Good luck with that. ;)
They asked me for my dxdiag... I highly doubt that will help them... but I guess contact is good. :D :shrug:
User avatar
Kieren Thomson
 
Posts: 3454
Joined: Sat Jul 21, 2007 3:28 am

Post » Mon May 28, 2012 6:08 pm

dxdiag? That kinda sounds like they misunderstood your request, as if they thought you were just asking for tech support (PC issues and the like).

You often find this with tech support. They have a list of stock answers to a range of questions, and just fire off the one that they think best fits the bill. My guess is that only the devs themselves would probably have the slightest clue as to what you were actually requesting.

But like you say, at least it's a response. Here's hoping.


Stannie
User avatar
Smokey
 
Posts: 3378
Joined: Mon May 07, 2007 11:35 pm

Post » Mon May 28, 2012 6:13 am

dxdiag? That kinda sounds like they misunderstood your request, as if they thought you were just asking for tech support (PC issues and the like).

You often find this with tech support. They have a list of stock answers to a range of questions, and just fire off the one that they think best fits the bill. My guess is that only the devs themselves would probably have the slightest clue as to what you were actually requesting.

But like you say, at least it's a response. Here's hoping.


Stannie
Yep. I'm guessing I'm going to have to go through from-the-binder tech support before I get anywhere. :flamethrower:
User avatar
Elle H
 
Posts: 3407
Joined: Sun Aug 06, 2006 3:15 am

Post » Mon May 28, 2012 1:18 pm

Hello Adam Celli,

We do not support 3rd party controllers such as your Logitech G13 Joystick. We only support the Official Xbox controller for the PC.

Well duh... Why do you think I've been jumping through hoops for close to 4 man-hours...
User avatar
Trent Theriot
 
Posts: 3395
Joined: Sat Oct 13, 2007 3:37 am

Post » Mon May 28, 2012 5:44 pm

Yep. Doesn't suprise me one bit. Perhaps if you asked how to enable Mouse and 360 Controller at the same time, they would focus on the actual question rather than just see the words 'Logitech G13 Joystick' then go into automatic brain meltdown and send out a standard response?


Stannie
User avatar
Shelby Huffman
 
Posts: 3454
Joined: Wed Aug 08, 2007 11:06 am

Post » Mon May 28, 2012 9:17 am

Yep. Doesn't suprise me one bit. Perhaps if you asked how to enable Mouse and 360 Controller at the same time, they would focus on the actual question rather than just see the words 'Logitech G13 Joystick' then go into automatic brain meltdown and send out a standard response?


Stannie
That probably would have been a better way to write it... If I don't get any useful information in my next response I'll ask that.
User avatar
Laura-Jayne Lee
 
Posts: 3474
Joined: Sun Jul 02, 2006 4:35 pm

Post » Mon May 28, 2012 12:45 pm

I 'borrowed' an xbox controller from my imaginary friend. Hopefully they get back to me about it.
User avatar
Charles Weber
 
Posts: 3447
Joined: Wed Aug 08, 2007 5:14 pm

Post » Mon May 28, 2012 6:53 am

I'm quite disappointed this topic fell into oblivion. I have a 360 controller and would like to do everything except combat with it. My aim with anolog joysticks is abysmal, so I would much rather use the keyboard and mouse, plus as I understand it (I'm still new to the game) there are more hotkeys available with the keyboard for magic. Anyway, I don't see why this is so difficult...Battlefield 3 does this seamlessly. All I want is for the keyboard and mouse to remain enabled when I use my 360 controller. Simple as that.
User avatar
Floor Punch
 
Posts: 3568
Joined: Tue May 29, 2007 7:18 am

Post » Mon May 28, 2012 7:12 pm

I'm quite disappointed this topic fell into oblivion. I have a 360 controller and would like to do everything except combat with it. My aim with anolog joysticks is abysmal, so I would much rather use the keyboard and mouse, plus as I understand it (I'm still new to the game) there are more hotkeys available with the keyboard for magic. Anyway, I don't see why this is so difficult...Battlefield 3 does this seamlessly. All I want is for the keyboard and mouse to remain enabled when I use my 360 controller. Simple as that.

I have a Logitech F710 gamepad that has a little switch on top that will turn it off and let me use mouse/keyboard again, and vice versa. I guess it changes modes or something but since one mode isn't supported it's effectively an off switch. I'm not familiar with Xbox controllers - do they have anything like that?
User avatar
Nina Mccormick
 
Posts: 3507
Joined: Mon Sep 18, 2006 5:38 pm

Post » Mon May 28, 2012 8:34 am

I have a Logitech F710 gamepad that has a little switch on top that will turn it off and let me use mouse/keyboard again, and vice versa. I guess it changes modes or something but since one mode isn't supported it's effectively an off switch. I'm not familiar with Xbox controllers - do they have anything like that?
The problem is that as soon as the game detects an Xbox controller plugged in it flips a binary switch that disables the mouse and keyboard. Through some editing I was able to get the keyboard to respond even with an xbox controller plugged in but the mouse doesn't work except for areas that have a cursor on xbox (such as the map).

Since your Logitech has a switch as far as the game can tell it's the same as unplugging your xbox controller. Right now I think Bethesda's support staff is on vacation so I'm waiting to hear back from them.

http://www.skyrimnexus.com/downloads/file.php?id=246
User avatar
Mélida Brunet
 
Posts: 3440
Joined: Thu Mar 29, 2007 2:45 am

Post » Mon May 28, 2012 9:07 pm

The keyboard works at the enchanting table when the controller is on and you select rename item. Any way for you to trace what happens to enable the keyboard by this action?
User avatar
Anna Krzyzanowska
 
Posts: 3330
Joined: Thu Aug 03, 2006 3:08 am

Post » Mon May 28, 2012 2:46 pm

The keyboard works at the enchanting table when the controller is on and you select rename item. Any way for you to trace what happens to enable the keyboard by this action?
I got the keyboard working in all modes with controller. Right now the problem is the mouse.

I've traded a few messages with Behippo and got some advice regarding using a debugger to look for the directinput cues. *fingerscrossed*
User avatar
Charleigh Anderson
 
Posts: 3398
Joined: Fri Feb 02, 2007 5:17 am

Post » Mon May 28, 2012 5:36 pm

I just 'refound' this thread. What you say there about the debugger finding dinput cues sounds interesting, wiz0floyd. Did you have any luck?
User avatar
Eliza Potter
 
Posts: 3481
Joined: Mon Mar 05, 2007 3:20 am

PreviousNext

Return to V - Skyrim