haiku/headers/private/device
Michael Lotz 34f0d87a9d Add initialize[_to_extended_joystick]() methods to variable_joystick. With those
methods the members are populated, the flat data size is calcualted, the data
buffer is allocated and the convenience pointers are set up automatically. With
initialize() an arbitrary configuration can be created, with
initialize_to_extended_joystick() a configuration is created that exactly
matches the data structure of the extended_joystick struct.
Having them here makes it easy to use the structure from a driver as well
without the need to set up everything manually.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-03 20:54:05 +00:00
..
joystick_driver.h Add initialize[_to_extended_joystick]() methods to variable_joystick. With those 2011-06-03 20:54:05 +00:00
JoystickTweaker.h Cleanup of the _BJoystickTweaker: 2011-06-02 12:42:18 +00:00
power_managment.h small bit of style cleanup; added additional checks to see if a battery was damaged or it is just an empty slot 2011-05-04 23:12:25 +00:00