Welcome, Guest. Please login or register.

Author Topic: USB GamePads and Joysticks  (Read 2038 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB GamePads and Joysticks
« on: November 21, 2003, 08:15:01 AM »
I'm currently working on it. Got a niffy joypad here with a digital direction pad (hatswitch) and two analogue sticks and ten (!) buttons. Yesterday, I used one of the sticks to control the mouse pointer. Lowlevel emulation is next. However, it will only work with games, that don't disable the multitasking (obviously) and use the lowlevel library instead of hardware hacking.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB GamePads and Joysticks
« Reply #1 on: November 21, 2003, 11:06:07 AM »
This "feature" to automatically assign all kinds of axis to the mouse is fixed with the next release. A bit stupid to have the mouse stuck on the screen after plugging in a joypad.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB GamePads and Joysticks
« Reply #2 on: November 21, 2003, 11:13:09 AM »
Sounds like a good idea (I'll have him on the phone later this day anyway), but then I have to add an API from the HID class to the outside. Actually, that lowlevel patching is just an temporary solution, until we've got the new Input API in MOS. Lowlevel is, as Thomas said, not sufficient to cope with all the possible input devices.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB GamePads and Joysticks
« Reply #3 on: November 22, 2003, 12:29:12 AM »
Done ;) Works nicely.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM