Vitaliy Margolen
|
7e6d0e71eb
|
dinput: Use ClipCursor() to keep mouse from leaving the window.
|
2007-10-10 12:16:16 +02:00 |
Vitaliy Margolen
|
355b39cd71
|
dinput: Fix typo.
|
2007-10-01 12:34:12 +02:00 |
Vitaliy Margolen
|
7123d5a0a3
|
dinput: Implement GetDeviceInfo for evdev joystick.
|
2007-09-25 11:55:32 +02:00 |
Vitaliy Margolen
|
ac3668a057
|
dinput: Make default dead zone configurable.
|
2007-09-25 11:55:26 +02: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 |
Stefan Leichter
|
dd8c4a9583
|
dinput: Remove 'recursive registry key delete' function.
|
2007-09-24 13:44:53 +02:00 |
Vitaliy Margolen
|
278cc8e28d
|
dinput: When setting hooks ignore devices without even handler.
|
2007-09-11 12:34:29 +02:00 |
Vitaliy Margolen
|
64ef4c4edf
|
dinput: Add helper function to dump mouse state.
|
2007-09-11 12:34:27 +02:00 |
Vitaliy Margolen
|
c6784cdad3
|
dinput: Count should not be 0-based.
|
2007-08-27 12:01:43 +02:00 |
Vitaliy Margolen
|
fc0298429a
|
dinput: Fix compile with old input.h that missing input_absinfo.
|
2007-08-21 21:39:10 +02:00 |
Vitaliy Margolen
|
e2e3d19351
|
dinput: Don't try to create non existing device (/dev/js*).
|
2007-08-21 12:41:57 +02:00 |
Vitaliy Margolen
|
81fc89fa6d
|
dinput: Check acquired flag instead of fd.
|
2007-08-20 22:32:53 +02:00 |
Vitaliy Margolen
|
3cd13628aa
|
dinput: Use correct data structure for EVIOCGABS instead of an array.
|
2007-08-20 22:32:51 +02:00 |
Vitaliy Margolen
|
ca8a0a8aaa
|
dinput: Remove redundant declaration.
|
2007-08-20 22:32:45 +02:00 |
Vitaliy Margolen
|
f47c63a1f9
|
dinput: Don't try to create non existing device.
|
2007-08-20 22:32:40 +02:00 |
Vitaliy Margolen
|
c78b8a17fd
|
dinput: Properly increment sequence number for X only movement.
|
2007-08-17 12:01:37 +02:00 |
Vitaliy Margolen
|
51fac7f28a
|
dinput: Fix dead zone calculation.
Based on patch by Artur Szymiec.
|
2007-08-14 20:29:21 +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
|
1fdc0230f0
|
dinput: Fix handling of dead-zone in evdev joystick.
USB joysticks can and do provide dead-zone area. Use it to initialize
the initial dead-zone.
|
2007-08-06 14:02:02 +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
|
94e08ec5be
|
dinput: Use more messages as a possible indication of the foreground window changes.
|
2007-07-23 12:13:26 +02:00 |
Vitaliy Margolen
|
41ce4a0158
|
dinput: Use CALLWINDPROC hook to monitor focus loses away from acquired windows.
|
2007-07-16 22:59:07 +02:00 |
Vitaliy Margolen
|
233cd46a22
|
dinput: Use PostMessage instead of SendMessage. Remove message window.
|
2007-07-16 22:59:02 +02:00 |
Vitaliy Margolen
|
efdee19d90
|
dinput: Convert IDirectInput into multi-interface object.
|
2007-07-12 12:59:20 +02:00 |
Vitaliy Margolen
|
6d5eee0851
|
dinput: Clear static variables after releasing hooks.
|
2007-07-10 13:37:20 +02:00 |
Vitaliy Margolen
|
8f28d4369e
|
dinput: Rename set_dinput_hook and call it from the base class.
Since keyboard's acquire and unacquire don't do anything special just call
the base class.
|
2007-07-09 14:31:38 +02:00 |
Vitaliy Margolen
|
deb74efc04
|
dinput: Handle multiple keyboard and mouse devices.
|
2007-07-09 14:27:25 +02:00 |
Vitaliy Margolen
|
6d6e4f4ea2
|
dinput: Export Mouse and Keyboard GUIDs.
|
2007-07-09 14:25:47 +02:00 |
Vitaliy Margolen
|
fe1f1362b8
|
dinput: Keep a list of all IDirectInput objects and check it instead of refcount to create/destroy hook thread.
|
2007-07-09 14:25:39 +02:00 |
Vitaliy Margolen
|
448dde9be8
|
dinput: Keep the list of all the dinput devices created for each IDIrectInput object.
|
2007-07-09 14:25:33 +02:00 |
Vitaliy Margolen
|
1f72c13a5a
|
dinput: Correct test - use appropriate mouse state structure.
|
2007-07-06 18:15:19 +02:00 |
Vitaliy Margolen
|
b9e8284a7d
|
dinput: Move key state array into object.
|
2007-06-29 12:31:45 +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
|
75a17709ea
|
dinput: Remove duplicate code.
|
2007-06-28 12:16:11 +02:00 |
Vitaliy Margolen
|
f83b53c160
|
dinput: Acquire device only if specified window has focus in foreground coop level.
|
2007-06-04 13:10:10 +02:00 |
Vitaliy Margolen
|
6a8bf96d73
|
dinput: Make sure to unacquire device before freeing it.
|
2007-06-04 13:10:04 +02:00 |
Dmitry Timoshkov
|
3c9e7a7f33
|
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
|
2007-05-25 20:37:56 +02:00 |
Vitaliy Margolen
|
4659f98314
|
dinput: Prevent race between destroying the hook window and unloading the dll.
|
2007-05-15 15:53:44 +02:00 |
Andrew Talbot
|
5e1ca16052
|
dinput: Constify some variables.
|
2007-04-24 11:53:46 +02:00 |
Vitaliy Margolen
|
cb0e61c356
|
dinput: Set the event regardless of the queue state.
|
2007-04-09 12:19:01 +02:00 |
Andrew Talbot
|
08e1481d8e
|
dinput: Replace inline static with static inline.
|
2007-03-21 11:55:33 +01:00 |
Jan Zerebecki
|
52a630a3a8
|
dinput: Add DebugInfo to critical sections.
|
2007-03-08 22:21:43 +01:00 |
Andrew Talbot
|
e744c3a5b1
|
dinput: Constify some variables.
|
2007-02-13 12:08:26 +01:00 |
Vitaliy Margolen
|
a06821765a
|
dinput: Don't reset dead zone and saturation when setting data format.
Additional tests indicate that native doesn't touch previously set
properties.
|
2007-02-06 20:23:28 +01:00 |