Commit Graph

733 Commits

Author SHA1 Message Date
Marcus Meissner 439605634e dinput: No need for null ptr check of pKeyboard. 2012-09-03 17:43:38 +02:00
Marcus Meissner e10a658c0c dinput: Added some missing free/close in disabled case (Coverity). 2012-09-03 15:49:39 +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
Gerald Pfeifer 7432949693 dinput: Fix incorrect check in device_disabled_registry. 2012-08-27 11:31:12 +02:00
Lucas Zawacki af1dcde288 dinput: SetActionMap saving mappings. 2012-08-27 11:13:15 +02:00
Lucas Zawacki 3da6f1754e dinput: Disable linuxinput or linux joysticks based on registry key. 2012-08-24 11:19:38 +02:00
Lucas Zawacki 8bfb125617 dinput: Append driver name to dinput joysticks on Linux. 2012-08-24 11:16:53 +02:00
Lucas Zawacki ac9a10f815 dinput: Return a valid keyboard type in keyboard GetCapabilities. 2012-08-20 14:59:45 +02:00
Lucas Zawacki 5b3ccdf04a dinput/tests: Test for keyboard GetCapabilities. 2012-08-20 14:59:38 +02:00
Lucas Zawacki e8f808a607 dinput: Semi-stub for IDirectInputJoyConfig8_GetConfig. 2012-08-14 12:01:10 +02:00
Lucas Zawacki dbc10ef937 dinput/tests: Tests for IDirectInputJoyConfig8_GetConfig. 2012-08-14 12:01:06 +02:00
Francois Gouget 6333fa753a Assorted spelling fixes. 2012-07-03 12:03:29 +02:00
Lucas Zawacki e3d243861c dinput/tests: Added a test for DIPROP_JOYSTICKID. 2012-05-30 11:32:25 +02:00
Lucas Zawacki 2cd3b908ad dinput: Implement GetProperty for JOYSTICKID (LinuxInput driver). 2012-05-30 11:31:55 +02:00
Lucas Zawacki fbfdc6db65 dinput: Implement GetProperty for JOYSTICKID (Linux driver). 2012-05-30 11:31:49 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Lucas Zawacki 706d9df8d9 dinput: Don't trace DIEFFECT members if they don't contain valid data. 2012-04-11 18:15:57 +02:00
Dmitry Timoshkov 1a61dcc25d dinput: Use standard way for dumping POINT. 2012-03-27 11:38:11 +02:00
Lucas Zawacki 146176cc38 dinput: Correct wrong loop delimiter in diactionformat_priority. 2012-03-26 18:15:04 +02:00
Lucas Zawacki 07f583478e dinput: Search for device objects of the correct type in BuildActionMap. 2012-02-29 10:21:54 +01:00
Alexandre Julliard 011a3523aa dinput: Filter out mouse wheel messages in exclusive mode. 2012-02-15 19:17:36 +01:00
Marcel Hasler c47677fee5 dinput: Support INFINITE as number of effect iterations. 2012-02-02 09:55:47 +01:00
Alexandre Julliard a1580bba70 dinput: Clip to the client area instead of the whole window in exclusive mode. 2012-02-01 16:42:47 +01:00
Alexandre Julliard b0657c8623 dinput: Catch unsuccessful clipping attempts and fall back to warping. 2012-01-30 20:44:48 +01:00
Alexandre Julliard f6368c4202 dinput: Clip the mouse to the entire window instead of a 1x1 rectangle in exclusive mode. 2012-01-19 21:08:51 +01:00
Francois Gouget c7cb3e6cb2 configure: Use errno.h instead of the non-standard sys/errno.h header. 2011-12-15 17:46:38 +01:00
Frédéric Delanoy 7f476a2392 dinput: Clarify a translatable string. 2011-12-05 17:55:20 +01:00
Vitaliy Margolen 7260132c5d dinput: Fix device enumeration by DX8 device type. 2011-12-02 12:15:35 +01:00
Alexandre Julliard af48498911 dinput: Convert dialogs to po files. 2011-11-30 18:20:32 +01:00
Vitaliy Margolen 699da40d1b dinput: Add more error checking to IDirectInput_GetDeviceStatus. 2011-11-29 14:04:25 +01:00
Vitaliy Margolen 310859db67 dinput: Add more parameter checking to enum devices. 2011-11-29 14:04:20 +01:00
Vitaliy Margolen a84d2fe20e dinput: Stub IDirectInputJoyConfig8 interface. 2011-11-29 14:04:01 +01:00
Francois Gouget f005fab082 dinput: Remove an unused and untranslatable listview label.
Spotted by Luca Bennati.
2011-11-21 13:07:17 +01:00
Francois Gouget 4ed24cd5f5 dinput: Delete the static critical section when unloading the dll. 2011-11-16 17:02:39 +01:00
Andrew Talbot f3d0c715a3 dinput: Remove unused Wine debug channel. 2011-11-14 15:25:21 +01:00
Andrew Talbot bf3d67c460 dinput: Qualify use of WINE_DEFAULT_DEBUG_CHANNEL. 2011-11-14 15:25:21 +01:00
Vitaliy Margolen 5bb094c9a2 dinput: Return correct key names for num_lock and pause.
Scan codes and DIK codes for num_lock and pause are reversed.
2011-11-09 11:54:25 +01: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 35016b0513 dinput: Report mouse and keyboard as being emulated. This works better for some games. 2011-10-31 16:46:21 +01:00
Vitaliy Margolen 67e0b356c0 dinput: Restore checks for DirectX 3 buffer size. 2011-10-25 16:57:28 +02:00
Aurimas Fišeras 8991a96885 dinput: Add Lithuanian translation. 2011-10-24 12:36:24 +02:00
Frédéric Delanoy 3c15af301c dinput: Avoid casting return value of HeapAlloc calls. 2011-10-21 12:31:31 +02:00
Vitaliy Margolen 271c6a6c5f dinput: Add some logging to base class. 2011-10-20 17:05:19 +02:00
Luca Bennati 9d487fd2c3 dinput: Add Italian translation. 2011-10-17 17:45:04 +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 db6780806e dinput: Add buffer overflow check. 2011-10-17 17:45:01 +02:00
Vitaliy Margolen e939980027 dinput: Fix buffer size in test. 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 ca8c1103af dinput: Fix printing NULL strings. 2011-09-19 17:56:05 +02:00
Lucas Fialho Zawacki 32800de137 dinput: Fill dialog with info about the first device by default in config.c. 2011-09-13 11:27:00 +02:00
Lucas Fialho Zawacki 03fa9f627b dinput: Initialize device count to 0 in config.c. 2011-09-13 11:27:00 +02:00
Marcus Meissner a038ec330a dinput: Fixed bad sizeof (pointer -> struct) (Coverity). 2011-09-12 10:07:31 +02:00
Dan Kegel b7bb3538f9 dinput: Fix compilation on systems that don't support nameless unions. 2011-09-09 16:18:17 +02:00
Hwang YunSong d045719761 dinput: New Korean resource. 2011-09-09 14:41:53 +02:00
Lucas Fialho Zawacki b0dfa932b6 dinput: Working CANCEL and RESET buttons in ConfigureDevices dialog. 2011-09-06 12:23:53 +02:00
Lucas Fialho Zawacki 67682c244c dinput: Added possibility to change the action mapping in the ConfigureDevices dialog. 2011-09-06 12:23:42 +02:00
Lucas Fialho Zawacki 9149691865 dinput: Added display of available actions to ConfigureDevices dialog. 2011-09-06 12:23:42 +02:00
Lucas Fialho Zawacki a4b209b119 dinput: Added object/action enumeration to ConfigureDevices dialog. 2011-09-06 12:23:42 +02:00
Lucas Fialho Zawacki 9bbe3b45d0 dinput: Added enumerated devices to ConfigureDevices dialog. 2011-09-06 12:23:28 +02:00
Lucas Fialho Zawacki 0ae4710926 dinput: Added ConfigureDevices dialog. 2011-09-06 12:22:09 +02:00
Francois Gouget 1e8abc3984 dinput: Make semantic_to_obj_id() static. 2011-09-02 14:42:14 +02:00
Lucas Fialho Zawacki 89367ebec0 dinput: Added ConfigureDevices A to W crosscall. 2011-08-26 13:13:36 +02:00
Lucas Fialho Zawacki 64c1f4778c dinput: Proper conversion of username parameters for Set and BuildActionMap. 2011-08-24 11:51:51 +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
Francois Gouget 19edb43627 dinput: Make _dump_diactionformatA() static. 2011-08-03 14:15:48 +02:00
Francois Gouget ed3c9a1eca Assorted spelling fixes. 2011-08-03 14:15:48 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +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
Marcus Meissner 011a817e65 dinput: const REFGUID is doubled const (Coverity). 2011-07-26 18:00:13 +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 79bd7249e4 dinput: SetActionMap for joysticks. 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 6e098f90a6 dinput: EnumDevicesBySemantics enumerate joysticks with priority flags. 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 d1a6d70e89 dinput/tests: Tests for EnumObjects with different types of device objects. 2011-07-15 14:43:47 +02:00
Marcus Meissner 3dc66a9d6d dinput: const REFIID is duplicate const (Coverity). 2011-07-14 14:13:40 +02:00
Lucas Fialho Zawacki 4958db8eba dinput: Corrected misuse of index in EnumDevicesBySemantics. 2011-07-14 14:11:40 +02:00
Lucas Fialho Zawacki bc5d32bec6 dinput: EnumDevicesBySemantics enumerating all kinds of joysticks. 2011-07-12 11:37:36 +02:00
Lucas Fialho Zawacki dc044e156d dinput: BuildActionMap and SetActionMap stubs for generic joystick. 2011-07-12 11:37:23 +02:00
Lucas Fialho Zawacki 662d332246 dinput: Prevent EnumDevicesBySematics from enumerating keyboard and mouse as having force feedback. 2011-07-11 12:24:55 +02:00
Lucas Fialho Zawacki 13421a210b dinput: Made EnumDevicesBySemantics more terse. 2011-07-11 12:24:42 +02:00
Andrew Nguyen cf073c8ad4 dinput8: Improve the behavior of DirectInput8Create. 2011-07-06 11:13:53 +02:00
Andrew Nguyen 10e28144c0 dinput: Improve the behavior of DirectInputCreateEx. 2011-07-06 11:13:47 +02:00
Andrew Nguyen c126b21a34 dinput: Extract the DirectInput instance creation and initialization in DirectInputCreateEx to separate functions. 2011-07-06 11:13:45 +02:00
Andrew Nguyen e5f73425dd dinput/tests: Add tests for IDirectInput::GetDeviceStatus. 2011-07-06 11:13:43 +02:00
Andrew Nguyen 9b1060d090 dinput: Add tests for IDirectInput::EnumDevices and add a parameter check. 2011-07-06 11:13:42 +02:00
Andrew Nguyen 324c76f386 dinput: Improve the behavior of IDirectInput::CreateDevice. 2011-07-06 11:13:40 +02:00
Andrew Nguyen 26932c84b0 dinput: Improve the behavior of IDirectInput::Initialize. 2011-07-06 11:13:38 +02:00
Andrew Nguyen c28512a5a6 dinput: Fix some return values of IDirectInput::QueryInterface. 2011-07-06 11:13:36 +02:00
Andrew Nguyen 90e9e3103a dinput: Implement IDirectInput::RunControlPanel. 2011-07-06 11:13:31 +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