Vitaliy Margolen
|
2665272d6c
|
dinput: Pass event instance ID to queue_event instead of offset.
|
2009-11-30 12:49:11 +01:00 |
Vitaliy Margolen
|
8c279bb80b
|
dinput: Fix POV for programs that use buffered events.
|
2009-09-11 12:14:25 +02:00 |
Vitaliy Margolen
|
9d86110327
|
dinput: Convert axis mapping array to int instead of BYTE. BYTE is unsigned and char isn't enough to store all possible axis values.
|
2009-09-08 13:07:09 +02:00 |
Vitaliy Margolen
|
f6351117f1
|
dinput: Move axes and buttons queries into initial joystick discovery for joydev driver.
|
2009-09-08 13:07:01 +02:00 |
Vitaliy Margolen
|
0932f4a113
|
dinput: Get default axes configuration from the device for joydev.
|
2009-08-19 12:26:03 +02:00 |
Vitaliy Margolen
|
9a73798af8
|
dinput: Expand joydev joystick discovery to query joystick name as well.
|
2009-08-19 12:25:55 +02:00 |
Vitaliy Margolen
|
fa9c11dad3
|
dinput: Let driver specify default axis mapping.
|
2009-08-19 12:25:27 +02:00 |
Vitaliy Margolen
|
083d6e8474
|
dinput: Move setup_dinput_options into common place.
|
2009-08-19 12:24:52 +02:00 |
Vitaliy Margolen
|
1362d15060
|
dinput: Move axes count into base joystick class.
|
2009-08-19 12:24:39 +02:00 |
Vitaliy Margolen
|
5347ab427a
|
dinput: Move axes mapping array and default dead-zone into generic joystick class.
|
2009-08-19 12:24:26 +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
|
5dbe136027
|
dinput: Create generic joystick Acquire/Unacquire.
|
2009-03-10 14:40:19 +01:00 |
Aric Stewart
|
922b66e354
|
dinput: Rename Linux-specific joystick functions.
|
2009-03-10 14:39:49 +01:00 |
Aric Stewart
|
94a5e0978d
|
dinput: Move joystick Polling and Device State to the generic part.
|
2009-03-10 14:39:03 +01:00 |
Aric Stewart
|
cbd34748e9
|
dinput: Move joystick productGuid and Name to the generic part.
|
2009-03-10 14:38:29 +01:00 |
Aric Stewart
|
620839d24e
|
dinput: Begin joystick separation into a generic module.
|
2009-03-10 14:38:00 +01:00 |
Alexandre Julliard
|
f6eb03d6c6
|
dinput: Avoid size_t in traces.
|
2009-01-08 13:12:08 +01:00 |
Alexandre Julliard
|
fffcd23cce
|
dinput: Fix pointer cast warnings on 64-bit.
|
2009-01-05 12:39:44 +01:00 |
Vitaliy Margolen
|
095ba950d6
|
dinput: Use correct GetObjectInfo for joystick.
|
2008-12-01 12:45:34 +01:00 |
Andrew Talbot
|
c1d5dfe84b
|
dinput: Sign-compare warnings fix.
|
2008-09-30 10:57:23 -05:00 |
Vitaliy Margolen
|
aa0188cd6f
|
dinput: Zero the out buffer.
|
2008-07-28 12:16:34 +02:00 |
Vitaliy Margolen
|
9227e25660
|
dinput: Ignore events from extra joystick buttons.
|
2008-05-07 17:50:50 +02:00 |
Vitaliy Margolen
|
bdbc2783a1
|
dinput: Limit number of axes in a different way - map all extra axes to -1.
We can't stop device from sending us extra axes so have to keep axes mapping
around for them.
|
2008-05-07 17:50:42 +02:00 |
Vitaliy Margolen
|
b07ff6ec86
|
dinput: Remove redundant variable.
|
2008-05-07 17:49:38 +02:00 |
Vitaliy Margolen
|
97535fe243
|
dinput: Fix typo.
|
2008-04-29 12:29:18 +02:00 |
Vitaliy Margolen
|
736d03c8da
|
dinput: Fix default axes mapping generation.
|
2008-04-28 14:32:40 +02:00 |
Vitaliy Margolen
|
f51e0e2d26
|
dinput: Limit number of supported axis and buttons.
|
2008-04-25 15:00:32 +02:00 |
Andrew Talbot
|
6657cfe70d
|
dinput: Fix handle leak.
|
2008-04-16 14:07:50 +02:00 |
Vitaliy Margolen
|
b9801bba31
|
dinput: Assign button GUID to joystick buttons.
|
2008-04-14 12:40:22 +02:00 |
Andrew Talbot
|
05ea03c00b
|
dinput: Assign to struct instead of using CopyMemory.
|
2008-03-29 10:30:24 +01:00 |
Rob Shearman
|
376be08a7c
|
dinput: Include fcntl.h instead of sys/fcntl.h since they are equivalent and the former is more portable.
|
2008-02-28 10:50:57 +01:00 |
Peter Dons Tychsen
|
53f64a09cf
|
dinput: Silence incorrect warning and move it to a valid place.
|
2008-01-07 14:25:19 +01:00 |
Lionel Debroux
|
efc81cb233
|
dinput: Improve TRACEs and WARNs.
|
2008-01-02 13:19:48 +01:00 |
Michael Stefaniuc
|
3e8970602c
|
dlls: Remove duplicate includes.
|
2007-11-19 13:54:46 +01:00 |
Vitaliy Margolen
|
8ff85c08b6
|
dinput: Add a helper function to open configuration registry keys.
|
2007-09-25 11:55:23 +02:00 |
Vitaliy Margolen
|
319097f563
|
dinput: Move get_config_key to a common place.
|
2007-09-25 11:55:19 +02:00 |
Vitaliy Margolen
|
c6784cdad3
|
dinput: Count should not be 0-based.
|
2007-08-27 12:01:43 +02:00 |
Vitaliy Margolen
|
e2e3d19351
|
dinput: Don't try to create non existing device (/dev/js*).
|
2007-08-21 12:41:57 +02:00 |
Peter Dons Tychsen
|
2cea950e99
|
dinput: Allow the use of the standard Joystick GUID when calling CreateDevice.
|
2007-08-08 15:32:04 +02:00 |
Vitaliy Margolen
|
b06786940c
|
dinput: Reuse common code and definition.
Unify object properties structure and he common axis mapping function
for both joystick drivers.
|
2007-08-06 14:02:41 +02:00 |
Vitaliy Margolen
|
19183e71d4
|
dinput: Fix POV calculation.
Combine and simplify the POV calculations. Linux provides X,Y for the POV.
While DirectInput returns dial-degrees*1000 (12 o-click is 0 degrees).
|
2007-08-06 14:02:26 +02:00 |
Vitaliy Margolen
|
9e36848303
|
dinput: Fix mapping of axes ids to property ids.
|
2007-08-06 14:01:54 +02:00 |
Erik Inge Bolsø
|
176c567cb3
|
dinput: Fix joystick axis remapping.
|
2007-08-02 12:18:41 +02:00 |
Vitaliy Margolen
|
ed4f1e8ec7
|
dinput: Fix typo.
|
2007-07-30 13:00:01 +02:00 |
Vitaliy Margolen
|
fb1082ae73
|
dinput: Combine all Release functionality into base class.
|
2007-06-28 12:16:11 +02:00 |
Vitaliy Margolen
|
d2966c2dfb
|
dinput: Move parent dinput reference into base class.
|
2007-06-28 12:16:11 +02:00 |
Vitaliy Margolen
|
6a8bf96d73
|
dinput: Make sure to unacquire device before freeing it.
|
2007-06-04 13:10:04 +02:00 |
Andrew Talbot
|
5e1ca16052
|
dinput: Constify some variables.
|
2007-04-24 11:53:46 +02:00 |