Commit Graph

127 Commits

Author SHA1 Message Date
Andrew Eikum
4ce1da041f dinput: Report axes that support FF for OSX joysticks. 2013-05-24 11:01:40 +02:00
Lucas Zawacki
d5e9cedaf5 dinput: BuildActionMap should not fail if mapping has no pre-stored settings. 2012-08-28 14:41:04 +02:00
Lucas Zawacki
af1dcde288 dinput: SetActionMap saving mappings. 2012-08-27 11:13:15 +02:00
Francois Gouget
6333fa753a Assorted spelling fixes. 2012-07-03 12:03:29 +02:00
Vitaliy Margolen
8c5a440144 dinput: Window supplied to SetCooperativeLevel have to be top level window. 2011-11-02 12:36:11 +01:00
Vitaliy Margolen
67e0b356c0 dinput: Restore checks for DirectX 3 buffer size. 2011-10-25 16:57:28 +02:00
Vitaliy Margolen
271c6a6c5f dinput: Add some logging to base class. 2011-10-20 17:05:19 +02:00
Vitaliy Margolen
aba1ed78da dinput: Put some checks back into GetDeviceData for DirectInput 8. 2011-10-17 17:45:02 +02:00
Vitaliy Margolen
d7db5d5399 dinput: Don't mask buffer overflow error. 2011-10-17 17:45:01 +02:00
Vitaliy Margolen
1a56be85be dinput: Acquire should not reset buffer position. 2011-10-14 13:12:28 +02:00
Vitaliy Margolen
157528eb0f dinput: GetDeviceData always succeeds regardless if buffering is enabled or device is acquired. 2011-10-14 13:12:28 +02:00
Francois Gouget
1e8abc3984 dinput: Make semantic_to_obj_id() static. 2011-09-02 14:42:14 +02:00
Lucas Fialho Zawacki
7e3d51b7c6 dinput: Free previous action map in SetActionMap. 2011-08-24 11:51:48 +02:00
Lucas Fialho Zawacki
4a20339346 dinput: In BuildActionMap, don't assign objects to actions mapped by an user. 2011-08-24 11:51:45 +02:00
Lucas Fialho Zawacki
d175c1526f dinput: Common implementation for joystick, keyboard and mouse SetActionMap. 2011-08-24 11:51:42 +02:00
Lucas Fialho Zawacki
c0fd222321 dinput: Common implementation of BuildActionMap for keyboard and mouse. 2011-08-24 11:51:39 +02:00
Frédéric Delanoy
f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
Francois Gouget
5e9a1eeeb5 dinput: Remove IDirectInputDevice8AImpl_{Build,Set}ActionMap() as it is unused. 2011-08-01 18:26:26 +02:00
Lucas Fialho Zawacki
8cc44cb8c3 dinput: SetActionMap setting the axis range according to the action format. 2011-07-22 12:57:22 +02:00
Lucas Fialho Zawacki
31fdae5b4c dinput: BuildActionMap for all joysticks. For the moment only for buttons and axis. 2011-07-22 12:57:21 +02:00
Lucas Fialho Zawacki
efdad2c1ce dinput: Using DIDFT_GETTYPE in EnumObjects instead of DIEFT_GETTYPE. 2011-07-15 14:43:50 +02:00
Lucas Fialho Zawacki
39684c7e3a dinput: SetActionMap and queue_event setting mapped data. 2011-07-04 20:25:00 +02:00
Lucas Fialho Zawacki
b590090a48 dinput: SetActionMap constructing a dataformat for keyboard and mouse. 2011-07-04 20:24:48 +02:00
Lucas Fialho Zawacki
83aded2754 dinput: Keyboard and mouse implementation of BuildActionMap. 2011-07-04 20:24:10 +02:00
Lucas Fialho Zawacki
2fe9f14b29 dinput: SetActionMap setting the device buffer. 2011-06-28 16:45:56 -05:00
Vitaliy Margolen
4979d287b2 dinput: Return correct error code for DIPROP_VIDPID. 2011-02-02 12:24:07 +01:00
Vitaliy Margolen
92ac7861f5 dinput: Combine ASCII and Unicode Direct Input Device QueryInterface. 2011-01-19 12:58:29 +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
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
9594be7f79 dinput: Change internal check_dinput_hooks method to take W iface. 2011-01-10 11:02:16 +01:00
Vitaliy Margolen
fc023b96d2 dinput: COM cleanup - use helper function instead of direct typecast in base device class. 2011-01-10 10:58:36 +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
179b862738 dinput: Rename IDirectInputDevice2AImpl into IDirectInputDeviceImpl. 2011-01-03 16:46:41 +01:00
Kovács András
cde699b286 dinput: Return an error in IDirectInputDevice2AImpl_GetProperty(). 2010-09-16 10:11:08 -05:00
Michael Stefaniuc
2004db1bb1 dinput: Don't use HIWORD to check if a REFGUID is a DIPROP. 2010-02-02 11:47:20 +01:00
Francois Gouget
c5b346440f dsound: Make id_to_offset() static. 2009-12-02 14:19:50 +01:00
Vitaliy Margolen
2665272d6c dinput: Pass event instance ID to queue_event instead of offset. 2009-11-30 12:49:11 +01:00
Michael Stefaniuc
c0d2a21dd1 dinput: Remove superfluous pointer casts. 2009-01-28 12:30:51 +01:00
Vitaliy Margolen
f6f52021f8 dinput: Copy device data up to maximum available bytes. 2009-01-08 12:54:54 +01:00
Alexandre Julliard
fffcd23cce dinput: Fix pointer cast warnings on 64-bit. 2009-01-05 12:39:44 +01:00
Vitaliy Margolen
d2da2d378e dinput: Allow for holes in device status structure. 2009-01-04 14:59:54 +01:00
Vitaliy Margolen
6e07c7bc14 dinput: Remove DIEnumDevicesCallbackAtoW.
It's no longer used.
2008-12-20 11:11:30 +01:00
Alexandre Julliard
9ef1f0fe2e dinput: Make some functions static. 2008-12-03 12:13:37 +01:00
Vitaliy Margolen
aa0188cd6f dinput: Zero the out buffer. 2008-07-28 12:16:34 +02:00
Vitaliy Margolen
85e2aa1d8a dinput: Add more traces. Prevent some traces from dereferencing NULL pointer. 2008-07-07 12:11:24 +02:00
Vitaliy Margolen
382ed33b7a dinput: Default value for unassigned POVs should be -1. 2008-05-08 18:14:18 +02:00
Francois Gouget
42a61d7ed7 Assorted spelling fixes. 2008-05-06 16:10:20 +02:00
Marcus Meissner
494dd5f1fa dinput: Some debug output for BuildActionMap. 2008-02-18 12:41:37 +01:00
Marcus Meissner
9ce27fc7c1 dinput: Add a dumper for LPDIACTIONFORMAT.
Also make the DINPUT_instance static.
2008-02-16 15:10:47 +01:00
Francois Gouget
96d6a25fa1 dinput: Make _dump_cooperativelevel_DI() and _dump_EnumDevices_dwFlags() more self-contained. 2007-12-18 12:32:56 +01:00