[haiku-bugs] Re: [Haiku] #7629: Patch to make BJoystick non blocking on read

  • From: "mmlr" <trac@xxxxxxxxxxxx>
  • Date: Thu, 02 Jun 2011 14:17:17 -0000

#7629: Patch to make BJoystick non blocking on read
-------------------------------+----------------------------
   Reporter:  caz_haiku        |      Owner:  mmlr
       Type:  enhancement      |     Status:  reopened
   Priority:  normal           |  Milestone:  R1
  Component:  Kits/Device Kit  |    Version:  R1/Development
 Resolution:                   |   Keywords:  Joystick
 Blocked By:                   |   Blocking:
Has a Patch:  1                |   Platform:  All
-------------------------------+----------------------------
Changes (by mmlr):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Reconsidering this, having CountDevices() not stable is probably a bad
 idea, as it can lead to problematic situations depending on the usage
 pattern. Instead I'll add a public Rescan() method so that one can update
 the state consistently without recreating the BJoystick object.

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

Other related posts: