[haiku-bugs] Re: [Haiku] #7429: BJoystick and usb_joy patch

  • From: "Disreali" <trac@xxxxxxxxxxxx>
  • Date: Fri, 08 Apr 2011 15:33:21 -0000

#7429: BJoystick and usb_joy patch
-------------------------------+----------------------------
   Reporter:  caz_haiku        |      Owner:  nobody
       Type:  enhancement      |     Status:  new
   Priority:  normal           |  Milestone:  R1
  Component:  Kits/Device Kit  |    Version:  R1/Development
 Resolution:                   |   Keywords:
 Blocked By:                   |   Blocking:
Has a Patch:  1                |   Platform:  All
-------------------------------+----------------------------

Comment (by Disreali):

 I copied the usb_joy file to where you directed, made a link to it in
 .../drivers/dev, and suddenly there was a /dev/joystick listing. After re-
 booting, I re-ran the testjoy cmd and got the following uptput:

 {{{
 Welcome to the Haiku shell.
 /hdev/haiku/patches/joystick/joystick_test_code> testjoy
 /dev/joystick/usb_haiku/0
 ioctl - 0
 ioctl - 12

 Standard mode test: press both buttons to quit
 axes 0 =      0
 axes 1 =      0
 button 0 = off
 button 1 = off
 }}}

 I still had to use CTRL-C to get back to the prompt.

 I also created a lib dir under the BeSnes dir to which I copied the
 libdevice.so, tried setting BeSnes to use the gamepad, but got nothing.

 At least testjoy did something this time.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7429#comment:7>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: