Commit Graph

706 Commits

Author SHA1 Message Date
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
Lucas Fialho Zawacki 0f17c828f7 dinput: EnumDevicesBySemantics enumerating keyboard and mouse with priority flags. 2011-06-28 16:45:55 -05:00
Jonas Maebe 90d8608185 dinput: Hook up joysticks to DirectInput event queue on Mac OS X. 2011-06-17 11:09:00 +02:00
Vitaliy Margolen eb6cec1656 dinput: Keyboard does not support DIPROP_RANGE property. 2011-05-31 11:12:35 +02:00
Marcus Meissner a19e31efd9 dinput: Mark internal symbols with hidden visibility. 2011-05-18 10:58:25 +02:00
Alexandre Julliard 86b682154b dinput: Reset the clipped flag when the cursor is released. 2011-05-05 16:32:00 +02:00
Marcus Meissner cba138547a dinput: Mark internal symbols as hidden. 2011-04-29 14:21:40 +02:00
Alexandre Julliard 0036e438db dinput: Pass mouse messages through if the request to clip the cursor is rejected. 2011-04-26 16:04:23 +02:00
Alexandre Julliard c52f415415 dinput: Use a 1x1 clipping rect instead of warping the mouse in exclusive mode. 2011-04-26 16:04:00 +02:00
Alexandre Julliard 5f2daff124 dinput: Add a helper function for mouse warping. 2011-04-26 15:31:32 +02:00
Alexandre Julliard 8578f9c375 dinput: Get rid of some redundant coordinate mappings. 2011-04-26 15:31:31 +02:00
Vitaliy Margolen 20aa341032 dinput: Implement getting DIPROP_VIDPID property for evdev joystick driver. Fixes bug 26418. 2011-04-14 17:37:23 +02:00
Vincent Pelletier f1beea4f86 dinput: Effect length can actually be 0.
This fixes force feedback devices slamming for 10ms at full strength, as
attack is an absolute value, not a factor of effect level.
2011-03-31 12:38:28 +02:00
Vincent Pelletier 296b67f556 dinput: Ramp from lStart to lEnd, not lStart to lStart. 2011-03-28 17:08:53 +02:00
Austin English d6d749f4d7 dinput/tests: Make sure to use return value (LLVM/Clang). 2011-02-07 10:06:07 -06:00
Vitaliy Margolen 670d54a637 dinput: Ignore EV_MSC events instead of printing fixme. 2011-02-02 12:24:14 +01:00
Vitaliy Margolen 4979d287b2 dinput: Return correct error code for DIPROP_VIDPID. 2011-02-02 12:24:07 +01:00
Charles Davis a2e11b452a dinput: Don't link to/include Carbon on Mac OS X. 2011-01-25 12:45:44 +01:00
Vitaliy Margolen 02be0aee72 dinput: Fix typo. Found by clang. 2011-01-25 12:37:53 +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 92ac7861f5 dinput: Combine ASCII and Unicode Direct Input Device QueryInterface. 2011-01-19 12:58:29 +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 e6a8aa67d0 dinput: Explicitly define ASCII and Unicode methods in joydev joystick. 2011-01-10 11:04:07 +01:00
Vitaliy Margolen d88cbac1c5 dinput: Explicitly define ASCII and Unicode methods in evdev joystick. 2011-01-10 11:04:01 +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 30ab6c1749 dinput: Explicitly define ASCII and Unicode methods in mouse. 2011-01-10 11:03:40 +01:00
Vitaliy Margolen 9f9e376239 dinput: Explicitly define ASCII and Unicode methods in keyboard. 2011-01-10 11:03:34 +01:00