View Single Post
  #13 (permalink)  
Old 12-07-2006
tworkemon's Avatar
tworkemon Offline
Newbie
 
Code:
SIXAXIS Controller with Linux

Here is the patch that applies cleanly to the Debian linux-source-2.6.18 package:

jstest reports proper data values. 

Axis	Assignment
0	Left thumb X
1	Left thumb Y
2	Right thumb X
3	Right thumb Y
4-7	nothing
8	Dpad Up
9	Dpad Right
10	Dpad Down
11	Dpad Left
12	L2
13	R2
14	L1
15	R1
16	Triangle
17	Circle
18	Cross
19	Square
20-27	nothing
	
Button	Assignment
0	Select
1	L3
2	R3
3	Start
4	Dpad Up
5	Dpad Right
6	Dpad Down
7	Dpad Left
8	L2
9	R2
10	L1
11	R1
12	Triangle
13	Circle
14	Cross
15	Square
16	PS Button
17-18	nothing

The motion sensing axes are nowhere to be seen. Hopefully will be fix later.
Just patch the kernel and recompile. http://www.ps3news.com/forums/downlo...o=file&id=3572

Last edited by tworkemon; 12-07-2006 at 09:48 PM.