![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Desktop Environments Support for your Ubuntu desktop. Including Gnome, KDE and XFCE. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Just Give Me the Beans!
![]() |
An interesting idea I had, but having trouble with: Using joystick to control cursor.
I've searched around a bit on Google, and I was able to find this:
Code:
Section "InputDevice" Identifier "Joystick" Driver "mouse" Option "Device" "/dev/input/js0" Option "Protocol" "ImPS/2" Option "Buttons" "9" Option "SendCoreEvents" EndSection .... Section "ServerLayout" Identifier "Layout" InputDevice "Keyboard" InputDevice "Mouse" InputDevice "Joystick" Anyone have any ideas or suggestions to get this to work? If it makes a difference, I have a Saitek P3000 Wireless Gamepad.
__________________
http://ricapar.ath.cx:89/ |
|
|
|
|
|
#2 |
|
A Carafe of Ubuntu
![]() Join Date: Oct 2005
Location: United States
Beans: 103
Edgy Eft Testing
|
Re: An interesting idea I had, but having trouble with: Using joystick to control cursor.
Bump because I'd also like to know this.
|
|
|
|
|
|
#3 |
|
Gee! These Aren't Roasted!
![]() |
Re: An interesting idea I had, but having trouble with: Using joystick to control cur
Oh now that IS a cool idea.... but I'm also clueless.
|
|
|
|
|
|
#4 |
|
Ubuntu QA Team
![]() Join Date: Mar 2005
Location: İstanbul
Beans: 5,807
|
Re: An interesting idea I had, but having trouble with: Using joystick to control cur
I don't know whether what you want to do is practically doable but the reason the pointer jumps around is that you're stating in your xorg.conf file that you want to use the ps/2 mouse protocol and mouse driver with your gamepad, in these lines:
Code:
Driver "mouse" Option "Protocol" "ImPS/2" |
|
|
|
|
|
#5 | |
|
A Carafe of Ubuntu
![]() Join Date: Oct 2005
Location: United States
Beans: 103
Edgy Eft Testing
|
Re: An interesting idea I had, but having trouble with: Using joystick to control cur
Quote:
Could this be used as the driver? |
|
|
|
|
|
|
#6 |
|
Ubuntu QA Team
![]() Join Date: Mar 2005
Location: İstanbul
Beans: 5,807
|
Re: An interesting idea I had, but having trouble with: Using joystick to control cur
Yes, it seems is emulates the ps/2 protocol and gives you an xorg joystick driver.
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2006
Beans: 9
Xubuntu 6.10 Edgy
|
Re: An interesting idea I had, but having trouble with: Using joystick to control cur
I'm bumping this one!
I have the same problem as Ricapar, and i have used the howto at: http://cedric.vincent.perso.free.fr/Projets/index.html My xorg.conf looks like this: Code:
Section "ServerLayout" Identifier "Default Layout" Screen 0 "aticonfig Screen 0" 0 0 InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Mouse2" "SendCoreEvents" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Mouse2" Driver "mouse" Option "Protocol" "ImPS/2" #_PROTO_ is 'PS/2' or 'IMPS/2' or 'EXPS/2' Option "Device" "/dev/j2m_fifo" Option "ZAxisMapping" "4 5" #only if you use the 'IMPS/2' protocol EndSection I can move the pointer up and to the right, but not down and to the left (it goes crazy and clicks). The buttons doesn't work either. If there are other ways than using the JS2mouse software to solve this i would sure be happy Oh, and my gamepad is a Saitek P880 Dual Analog. |
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2006
Beans: 9
Xubuntu 6.10 Edgy
|
Re: An interesting idea I had, but having trouble with: Using joystick to control cur
Yes i got it to work!
I just edited my xorg.conf so it looked like this: Code:
Section "ServerLayout" Identifier "Default Layout" Screen 0 "aticonfig-Screen[0]" 0 0 InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Mouse2" "SendCoreEvents" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" EndSection Section "InputDevice" Identifier "Mouse2" Driver "mouse" Option "Protocol" "PS/2" #_PROTO_ is 'PS/2' or 'IMPS/2' or 'EXPS/2' Option "Device" "/dev/j2m_fifo" EndSection IT works GREAT! Weeehooo Last edited by polaren; February 20th, 2007 at 01:34 PM.. |
|
|
|
|
|
#9 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2007
My beans are hidden!
|
Re: An interesting idea I had, but having trouble with: Using joystick to control cur
do you use the js2mouse driver for that?
|
|
|
|
|
|
#10 |
|
Way Too Much Ubuntu
![]() Join Date: May 2007
Location: Vancouver, Bc, Canada
My beans are hidden!
|
Re: An interesting idea I had, but having trouble with: Using joystick to control cur
can i get a how to for this, but for a microsoft sidewinder 3d pro plus
i cant seem to get to even work with jsconfig... |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|