Commit Graph

26 Commits (e2db7946309fe7f2b43258cc8b838119f5baca25)

Author SHA1 Message Date
Charles Davis a2e11b452a dinput: Don't link to/include Carbon on Mac OS X. 2011-01-25 12:45:44 +01:00
Vitaliy Margolen 0ac5c60374 dinput: Combine ASCII and Unicode device create callbacks. Add tests. 2011-01-24 14:43:09 +01:00
Vitaliy Margolen 9441d898f7 dinput: Make newly created device append itself to Direct Input's list. 2011-01-19 12:58:01 +01:00
Vitaliy Margolen 6b30480021 dinput: COM cleanup - use interfaces instead of vtbl. Combine both Unicode and ASCII interfaces into the same classes. 2011-01-10 12:41:20 +01:00
Vitaliy Margolen 6a07885029 dinput: Explicitly define ASCII and Unicode methods in joystick base class. Use new methods in child classes. 2011-01-10 11:03:49 +01:00
Vitaliy Margolen 0f24b9e86f dinput: Explicitly define ASCII and Unicode methods in DirectInputDevice base class. Make ASCII methods call Unicode. Use new methods in child classes. 2011-01-10 11:03:17 +01:00
Vitaliy Margolen 399be3455a dinput: COM cleanup - use helper function instead of direct typecast in OS/X joystick. 2011-01-10 11:02:04 +01:00
Vitaliy Margolen 15216098e0 dinput: COM cleanup - use proper DirectInput interface with IUknown calls. 2011-01-10 10:58:14 +01:00
Vitaliy Margolen 7d650d0b28 dinput: Pass interface instead of this pointer to joystick poll callback. 2011-01-03 16:48:16 +01:00
Zach Smith fa5f61f59d dinput: OSX joystick driver separate device for each top level HID collection. 2010-09-21 20:16:16 +02:00
Paul Vriens ff4047a956 dinput: Don't check a parameter twice (Coccinelle). 2010-01-14 09:11:22 -06:00
Francois Gouget 14e03d770a dinput: Add a trailing '\n' to ERR() messages. 2009-04-20 15:25:20 +02:00
Vitaliy Margolen 3223798d30 dinput: Make props array a part of the generic joystick struct.
It's much easier to free it on release.
2009-04-20 14:30:03 +02:00
Vitaliy Margolen aee4237798 dinput: Remove redundant stuff. 2009-04-20 14:29:55 +02:00
Vitaliy Margolen fc4f1607a6 dinput: Make EnumDevices and GetObjectInfo consistent about GUIDs.
guidInstance should be the same from both places.
2009-04-20 14:29:49 +02:00
Aric Stewart 79859cb3ac dinput: OS/X joystick: Sort buttons based on usage as some controllers report the buttons out of order.
Makes the xbox 360 controller button mapping more logical.
2009-03-13 13:21:07 +01:00
Francois Gouget 40363a223c dinput: Add a trailing '\n' to ERR() messages.
Also convert a 'smart' quote to a regular quote.
2009-03-12 14:29:56 +01:00
Aric Stewart 6bbec8e660 dinput: OS/X joystick: Check usage page to avoid odd non-button elements found on the 360 controller. 2009-03-12 13:09:53 +01:00
Alexandre Julliard 81f8c03712 configure: Check for IOHIDManagerCreate function that's missing on Tiger. 2009-03-11 16:49:55 +01:00
Aric Stewart ae16df651f dinput: Add OS/X sliders. 2009-03-11 13:03:34 +01:00
Aric Stewart 08388a3c9b dinput: Map OS/X joystick axes so even if they come out of order on the device we recognize them correctly. 2009-03-11 13:03:34 +01:00
Aric Stewart 17daca7648 dinput: OS/X joystick add Rx,Ry,and Rz axes. 2009-03-11 13:03:34 +01:00
Aric Stewart ffbd6a79a4 dinput: OS/X joystick add GD_X, GD_Y, GD_Z axes. 2009-03-11 13:03:34 +01:00
Aric Stewart 87d61ab21b dinput: OS/X joystick add POV controls. 2009-03-11 13:03:34 +01:00
Aric Stewart 0e7eba1e3f dinput: OS/X joystick add axes. 2009-03-11 13:03:34 +01:00
Aric Stewart 225a494d66 dinput: Add Mac OS/X joystick support. 2009-03-11 13:03:33 +01:00