Results 1 to 2 of 2
OS: Ubuntu 8.10 Karmic Koala, fully updated
I've got an old Nostromo n50 speedpad that I decided I wanted to try to get to work with WoW. I have looked ...
- 03-25-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 2
Using GizmoD, need help with mapping script [python]
OS: Ubuntu 8.10 Karmic Koala, fully updated
I've got an old Nostromo n50 speedpad that I decided I wanted to try to get to work with WoW. I have looked into the Nostromo Linux drivers and Pystromo, but I decided to dip my toes into Python with Gizmo Daemon because I should
be able to use it for other gamepads in the future. I'm not exactly sure what the problem is but any help would be greatly appreciated. Here's what I've done so far:
- Installed GizmoD from Synaptic.
- Read through the tutorials and HOWTOs on the website.
- Used gizmod -g to record the input from my Nostromo n50.
- Attempted to modify a GizmoD map file to do what I wanted.
Up until the last part everything has been going fine. Here's the mapping of my input keys:
The last four keys are commented out in my map file for the moment since I'm not quite sure how to do them. The map file is attached to this post. As you will see from the map file, I just want keys 01-10 to translate into my normal keyboard keys 1-9 and 0. The DPAD I want to translate into a normal WASD for gaming. I'm kind of stumped as to where to go from here. I run gizmod from a terminal, but it doesn't seem to work.Code:Key 01 Press onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90001 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_A> c: 0x130 v: 0x1 Key 01 Release onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90001 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_A> c: 0x130 v: 0x0 Key 02 Press onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90002 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_B> c: 0x131 v: 0x1 Key 02 Release onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90002 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_B> c: 0x131 v: 0x0 Key 03 Press onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90003 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_C> c: 0x132 v: 0x1 Key 03 Release onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90003 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_C> c: 0x132 v: 0x0 Key 04 Press onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90004 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_X> c: 0x133 v: 0x1 Key 04 Release onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90004 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_X> c: 0x133 v: 0x0 Key 05 Press onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90005 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_Y> c: 0x134 v: 0x1 Key 05 Release onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90005 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_Y> c: 0x134 v: 0x0 Key 06 Press onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90006 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_Z> c: 0x135 v: 0x1 Key 06 Release onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90006 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_Z> c: 0x135 v: 0x0 Key 07 Press onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90007 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_TL> c: 0x136 v: 0x1 Key 07 Release onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90007 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_TL> c: 0x136 v: 0x0 Key 08 Press onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90008 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_TR> c: 0x137 v: 0x1 Key 08 Release onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90008 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_TR> c: 0x137 v: 0x0 Key 09 Press onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90009 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_TL2> c: 0x138 v: 0x1 Key 09 Release onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90009 onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_TL2> c: 0x138 v: 0x0 Key 10 Press onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x9000a onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_TR2> c: 0x139 v: 0x1 Key 10 Release onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x9000a onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_TR2> c: 0x139 v: 0x0 DPAD Up onEvent: Standard -- /dev/input/event3 | [EV_ABS] c: 0x1 Val: 0x0 onEvent: Standard -- /dev/input/event3 | [EV_ABS] c: 0x1 Val: 0x80 DPAD Down onEvent: Standard -- /dev/input/event3 | [EV_ABS] c: 0x1 Val: 0xff onEvent: Standard -- /dev/input/event3 | [EV_ABS] c: 0x1 Val: 0x80 DPAD Left onEvent: Standard -- /dev/input/event3 | [EV_ABS] c: 0x0 Val: 0x0 onEvent: Standard -- /dev/input/event3 | [EV_ABS] c: 0x0 Val: 0x80 DPAD Right onEvent: Standard -- /dev/input/event3 | [EV_ABS] c: 0x0 Val: 0xff onEvent: Standard -- /dev/input/event3 | [EV_ABS] c: 0x0 Val: 0x80
Once again, I appreciate any help!
P.S. - You can find the GizmoD website by doing a search for "gizmod sourceforge". First result in Google.
- 03-25-2010 #2Just Joined!
- Join Date
- Mar 2010
- Posts
- 2
Forgot to add the map file... It's attached to this post.


Reply With Quote
