Commit Graph

41 Commits

Author SHA1 Message Date
LunaMoo a9d9063680 Handle more mouse buttons(middle, 4, 5) 2017-04-27 13:54:38 +02:00
Unknown W. Brackets 9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Henrik Rydgard 28d8ed5881 Win32: Fix a bunch of little window resizing issues 2015-05-15 18:04:05 +02:00
debugzxcv 295961c37e Windows: Fix Delete keymap 2014-05-26 03:10:22 +08:00
Unknown W. Brackets 8af9f62f6b windows: Move rawinput stuff into its own file. 2014-01-19 11:59:11 -08:00
Henrik Rydgard 55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
Henrik Rydgard ab872d2266 PgUp/PgDn/Home/End in scrollviews 2013-08-20 18:58:22 +02:00
The Dax 4f76c3f4fb Win32: Allow right mouse button to be bound to anything. 2013-08-19 07:05:32 -04:00
Sacha 8b4280b297 Rename KEYCODE to NKCODE (native key code) to stop name collision. Implement Blackberry keymapping. 2013-08-05 03:31:40 +10:00
Unknown W. Brackets f6abce2102 Add some missing keyboard VK constants.
VK_PRINT is confusingly not print screen.  Also remove some dups.
2013-07-07 09:27:18 -07:00
Henrik Rydgard b581b73757 Make even more keys mappable 2013-07-07 14:38:10 +02:00
Henrik Rydgard ab1b7e7288 Get rid of remaining legacy key mappings. Make Pause and F3 mappable, add default mappings. You may need to manually map these if you have an old ppsspp.ini. 2013-07-07 14:08:08 +02:00
Henrik Rydgard 7cd45d9375 Make some more keys mappable in Windows. 2013-07-07 12:03:11 +02:00
Henrik Rydgard 19a6edd6cc Let the user map unthrottle and rapidfire. Make more keys mappable. 2013-07-07 11:25:19 +02:00
Henrik Rydgard cee45d0ad2 Win32: Switch to RawInput for keyboard processing. Lets us distinguish LSHIFT/RSHIFT and LCTRL/RCTRL. 2013-07-07 11:25:18 +02:00
Unknown W. Brackets a37a6a8d54 Remove some unused keyboard code, avoid confusion. 2013-07-06 23:11:43 -07:00
Unknown W. Brackets 39fc7931bb Add keymap support for alt/shift/ctrl on Windows.
WM_KEYDOWN only gets VK_SHIFT, not L or R.  We could detect which on
press, but not on release.  It's simpler to just resend both.
2013-07-06 23:06:33 -07:00
Henrik Rydgard cb87340e71 win: don't queue up key presses at all, send them instantly. 2013-07-06 21:49:28 +02:00
Henrik Rydgard 7e5a68ab16 Fix F3 2013-07-06 21:41:11 +02:00
Henrik Rydgard b0ee3a173a Add mechanism for unlimited mappable virtual keys (not restricted by some bitfield). Use it to implement X/Y analog key mapping. 2013-07-06 20:45:44 +02:00
Henrik Rydgard cc58e34cf8 Remove legacy key mapping and associate devices with keys (DInput has been left behind for now, will be fixed up soon). Saving is broken, will be fixed soon. 2013-07-06 20:45:44 +02:00
Daniel Dressler 349bed669c Fix windows dropping special keys 2013-07-04 12:18:05 -07:00
The Dax 72b33a5f5c Update Windows' keyboard input in preparation for eventual key remapping. Might need a bit more work, but for now, all keyboard functionality should be restored. 2013-07-04 02:11:39 -04:00
Unknown W. Brackets f58d94ea9d Control dialog supports 16, don't customize tab. 2013-05-20 07:43:58 -07:00
Unknown W. Brackets 1968701dc5 Swap TAB back to turbo, and F3 to toggle. 2013-05-20 01:47:06 -07:00
nachume d24e5be256 FIX : keyboard bind issue, can not be setting of analog key.
ADD: set the dead zone to the axis of the DirectInput.
2013-05-19 18:12:22 +09:00
nachume 4062059c2e Add check init Controls Dialog and ControlMapping constructor 2013-05-18 22:59:13 +02:00
Steven Cherry 409edfd5e7 Set 'F3' on keyboard to toggle, in addition to left thumb stick (for keyboard users)
Fix graphics screen 'Fps Limit' from being unable to close out, making options below it unreadable.
2013-05-14 19:00:43 -05:00
Steven Cherry 0a70803897 Allow Tab to Unthrottle 2013-05-13 19:28:09 -05:00
CrazyMax 15509420a8 disable background input for Windows 2013-04-28 12:30:43 +03:00
oioitff 36a03f7ad3 Build fix 2013-04-18 20:23:26 +08:00
oioitff 7ff4f34a48 Add an UI for modifying controls for PC 2013-04-18 18:38:43 +08:00
Unknown W. Brackets d441068350 Only alternate buttons, not arrows/special keys. 2013-03-31 13:11:37 -07:00
Henrik Rydgard 2301ad0b7c X360 controller: Left thumb speedup, right thumb menu, keyboard still works 2013-03-31 11:30:50 +02:00
Henrik Rydgard 634e324975 More work on control 2013-03-31 00:39:58 +01:00
Henrik Rydgard afa21588d7 Some work towards better control handling, includes stickyfix from native 2013-03-30 23:55:28 +01:00
Unknown W. Brackets e8e9f7f9d8 Add very simple rapid fire for Windows keyboard.
Mostly to speed up debugging.
2013-02-11 01:27:06 -08:00
Unknown W. Brackets f546e9084f Use 100% because 80% is in some games' deadzone.
Like Senjou no Valkyria 3.  Also some games register it but move slow.
2013-01-06 22:57:33 -08:00
Unknown W. Brackets e3943c390a Arg, I got these backwards. 2012-12-29 16:13:54 -08:00
Unknown W. Brackets 958fd29593 On Windows, separate analog and digital arrows.
This fixes the Tales of Eternia menu and movement.
2012-12-02 16:04:50 -08:00
Diogo Franco (Kovensky) 7e7e9a0452 Add a class for keyboard input
Removes the windows-specific hack from sceCtrl
to read keyboard input and instead add a hack to
PPSSPPWindows.

The input mapping is still hardcoded and is the same
as it was in sceCtrl.

Add an std::list to WindowsHost that, curretly, contains
a hardcoded list of preferred `InputDevice`s. Devices
are tried in-order until one of them reports success.
Xinput is preferred over Keyboard. Keyboard always
returns success. Pointers are stored in the std::list
for polymorphism.

Change XinputDevice to report failure as soon as a
device can't be queried, instead of only a frame later.
2012-11-12 17:49:40 +00:00