Wednesday, April 16, 2014

PS2 Guitar hero world tour drums on linux

The drums are treated like a joystick and buttons are translated to keyboard strokes.

This works on Debian squeeze
Install joy2key
Install hydrogen (program to convert keystrokes to drums)

make .joy2key in your home folder


START hydrogen
-thresh 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
-X
-buttons q w d c s x a z

Plugin USB receiver. Press LED until it blinks
Press PS key on drums (install batteries). It should select one of four controller settings, 1 LED on drums is lit solid.

Start hydrogen

joy2key -dev /dev/input/js0 -config hydrogen

Select hydrogen window to direct keyboard events from drums

Use correct joystick setting (js0 here)

Linux 2.6.32-5-amd64
joy2key Version: 1.6.3
Hydrogen Drum Machine 0.9.4
(All default installs)

Also worked with a slight change on Debian 8 Jessie (2016/11)

.joy2keyrc instead of .joy2key (per initial error message)

Linux cdreams04b 3.16.0-4-amd64
joy2key Version: 1.6.3
Hydrogen Drum Machine 0.9.6.1
(All default installs)

No comments:

Post a Comment