gamepad - has anyone used one in xpe?

G

Guest

We are planning replace an old joystick which we communicated with over rs232
with a wireless usb gamepad. in the component database i see some drivers
for gamepad, but am wondering if any of them will work with a 'generic'
gamepad The Logitech gamepad I have has 10 buttons, but is not one of the
listed components.
 
S

Sean Liming \(eMVP\)

I had to create a Component for Logitech that would support multiple
controllers. The Logitech driver INF files import over 50 different
components so you will have to cut them down to the components you need.
Once the component is created the game pad should work fine.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit.
 
G

Guest

Sean,

I created a component containing the Logitech driver I needed. The new OS
comes up with a Human Interface Device "Logitech Dual Action (HID)" and
"Logitech Dual Action USB". However, whenever I call JoyGetPosEx (or
JoyGetPos or JoyGetDevCaps), the MMRESULT returned is always JOYERR_PARMS
(165) - "The specified joystick identifier is invalid" no matter what I pass
for uJoyID. (The same code works on my desktop PC). It is as though I have
a driver loaded, but it doesn't recognize that the gamepad is plugged into
the USB port. Any ideas on things I might try or test?

-hanley
 
S

Sean Liming \(eMVP\)

As I recall, the components were just tested again the Game Controllers
control panel applet since the project was for PC games. There was no
specific app programming for a gamepad.

Regards,

Sean
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top