The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Joystick button pressure
Shiro Akaishi
Guest

Quote:
That's pretty cool. So, your computer calls the controller a 16 axis
joystick? Mine just treats them as normal buttons still.

Hrm, I was under the impression that just the X and square buttons were
analog. That's how mine is anyway.

--
Shiro Akaishi <akaishi at skizzers.org>
Joystick button pressure
Josiah Manson
Guest

This is what something I found on the web says, "All of the buttons
(except for the SELECT, START and ANALOG mode buttons) are pressure
sensitive." I'm guessing that the analog mode buttons are the
joysticks that you can push in. I'm not sure if "buttons" includes the
arrow things on the left. So, there should be at least 12 axes. If the
arrow things are pressure sensitive, that would be 4 more, so 16.

On 1/1/06, Shiro Akaishi <akaishi at skizzers.org> wrote:
Quote:
Quote:
That's pretty cool. So, your computer calls the controller a 16 axis
joystick? Mine just treats them as normal buttons still.

Hrm, I was under the impression that just the X and square buttons were
analog. That's how mine is anyway.
Joystick button pressure
Jeff Jackowski
Guest

On Mon, 2 Jan 2006, Shiro Akaishi wrote:

Quote:
Quote:
That's pretty cool. So, your computer calls the controller a 16 axis
joystick? Mine just treats them as normal buttons still.

Hrm, I was under the impression that just the X and square buttons were
analog. That's how mine is anyway.

Every button, with the exception of L3, R3, start, and select (I think),
has an analog pressure sense. It's the only thing the dual shock 2 does
differently from the older dual shock controllers. I suspect a number of
USB adapters use the controller as the older dual shock for increased
compatibility. I've made my own gizmo that does exactly that since the new
controllers are backwards compatible.

As for SDL, I wrote a kernel module to support my gizmo and SDL games can
now use it. :-)

--
Jeff Jackowski
http://ro.com/~jeffj/