Jonas Höglund
5f2f9160f8
Introduce DEVICE_ID_ANY, update operator == for KeyDef to match
2015-08-29 21:52:53 +02:00
Jonas Höglund
a57a838c93
Update key repeat logic to use provided DPad keys
...
Implements a SetDPadKeys function akin to the Confirm/Cancel/TabLeft/TabRight
keys, and uses this vector of DPad keys to decide whether a KeyInput is a DPad
key or not. Rewrites the held-key release logic in such a way that it still
ignores the deviceId, to handle the Ouya quirk where repeated events have
deviceId 0.
2015-08-28 20:51:33 +02:00
Jonas Höglund
32617ae17c
Use KeyDef for Confirm/Cancel/TabLeft/TabRight keys
2015-08-28 17:05:11 +02:00
Jonas Höglund
e1d3a7421b
Move KeyDef and AxisPos to native
2015-08-28 16:51:07 +02:00
Henrik Rydgard
6ae73b8919
Add a new touch input flag for handling loss of window focus where events get lost
2015-05-21 10:45:49 +02:00
Henrik Rydgard
52ce9c1118
Fix horizontal scrolling in ScrollViews and horizontal scroll gesture detection
...
Use this to scroll the tabs in TabHolders, to make more tabs fit on screen.
2015-02-24 00:22:58 +01:00
Henrik Rydgard
dcd27e134d
Add flag to identify events from mouses.
2014-07-20 22:24:54 +02:00
Henrik Rydgard
370b6b3eac
input: Add a convenient constant for max axis. remap a couple to reduce the number.
...
(isn't possible to manually map the accelerometer ones so should be safe for ppsspp)
2014-07-20 12:51:43 +02:00
Henrik Rydgard
b0f2361730
Add KEY_CHAR
2014-06-29 23:31:09 +02:00
Henrik Rydgard
a3e23f0ac6
Propagate input even return values in more places. Handle repeats better.
2014-06-15 13:04:10 +02:00
Peter Tissen
3c4e046609
make enum identifiers for all pad numbers, add a constant for the max number of pads and add string names for each identifier
2014-06-01 11:38:15 +02:00
Henrik Rydgard
710d63aac1
Android: Send data about the device used in touch events.
2014-02-05 20:02:13 +01:00
Unknown W. Brackets
1c87fb7485
Allow customizing the tab left/right keys.
2014-01-25 11:58:49 -08:00
ufdada
f01e1bbab0
Adding some more keycodes
2014-01-13 15:48:07 +01:00
Henrik Rydgård
a83ac35141
Restore functionality of "legacy key maps" in SDL.
...
For non-PPSSPP prototyping purposes.
2013-12-13 12:17:46 +01:00
Henrik Rydgård
4e997a2e15
Make sure MAX_POINTERS is only defined once.
2013-11-04 15:31:53 +01:00
Henrik Rydgård
64614c954f
Update some CMakeLists used by projects other than PPSSPP
2013-11-04 12:27:37 +01:00
Henrik Rydgård
cff2711a7c
Add a few weird axes seen on Ouya
2013-10-31 11:03:44 +01:00
Henrik Rydgård
ce3eb186c7
Minor cleanup
2013-10-16 11:29:58 +02:00
Henrik Rydgard
b063724c9e
Logging bug fix and some warning fixes.
2013-08-27 19:44:05 +02:00
The Dax
a8b45a68b9
Remove hard-coded accept and cancel buttons.
2013-08-22 06:45:45 -04:00
Henrik Rydgard
e2301a5a75
Remove annoying logging
2013-08-20 20:43:15 +02:00
Henrik Rydgård
91efd71ff9
Fix bug found by clang warning
2013-08-20 19:19:39 +02:00
Henrik Rydgard
7b62459463
Fix some gesture detection for scrolling
2013-08-20 16:31:47 +02:00
Henrik Rydgard
d45ea84599
Revert "Merge pull request #110 from thedax/master"
...
This reverts commit d2bdffcc54 , reversing
changes made to 8f0d82ffb7 .
2013-08-20 15:04:42 +02:00
The Dax
2a02b53894
Native: Remove hard-coded accept and escape keys.
2013-08-20 08:37:39 -04:00
Henrik Rydgard
3e65b41753
Basic inertia scrolling
2013-08-20 11:35:54 +02:00
Henrik Rydgard
5422dead6a
Fix bug with float sliders. minor stuff.
2013-08-17 10:33:49 +02:00
Henrik Rydgard
4a1c3c4f83
More UI stuff, add glMapBuffer
2013-08-16 16:47:25 +02:00
Henrik Rydgard
76d0d5ceb3
Add axis for relative mouse
2013-08-12 23:25:35 +02:00
Henrik Rydgard
46f7415bc9
Various UI key navigatation improvements
2013-08-12 23:07:27 +02:00
Sacha
48498d1833
Rename KEYCODE to NKCODE (native key code) to kill name collision. Implement keymapping for Blackberry.
2013-08-05 03:30:34 +10:00
Henrik Rydgard
46c9fd3819
Can now merge the result from the buttontracker.
2013-07-15 20:29:50 +02:00
Henrik Rydgard
7151e4c06e
Generalize the code mapping android key events into pad button bits, add support for keys needed to navigate UI.
2013-07-15 17:37:16 +02:00
Henrik Rydgard
ffcdf5ea80
Ouya keycodes
2013-07-10 21:14:35 +02:00
Henrik Rydgård
3fe63c3171
Make mouse buttons mappable keys
2013-07-09 16:33:05 +02:00
Henrik Rydgard
28fb341cb2
More mousewheel support
2013-07-08 12:34:39 +02:00
Henrik Rydgård
57d3fa0134
Basic mousewheel support (SDL)
2013-07-08 11:03:32 +02:00
Henrik Rydgard
839222a4fa
Add keycode for the 102th key on euro keyboards.
2013-07-07 14:37:37 +02:00
Sacha
35ccbc6df3
Blackberry buildfix.
2013-07-07 17:46:37 +10:00
Henrik Rydgard
4aa16ddb86
Minor stuff
2013-07-06 20:44:12 +02:00
Henrik Rydgard
1dec6e8154
Work towards full android joystick support.
2013-07-06 19:08:20 +02:00
Henrik Rydgård
ac9bab015b
Don't autogen key IDs
2013-07-04 10:20:40 +02:00
Daniel Dressler
c97ed9fa3f
Add xbox keys to native keycodes for platforms
2013-07-03 20:52:29 -07:00
Daniel Dressler
cace0b3a65
Remove wrong copyright notice
...
Copy & paste error. File itself was copied from a file I
created in ppsspp.
2013-06-30 23:38:28 -07:00
Daniel Dressler
91114ba605
Add missing SDL keycode translation pairs
2013-06-30 22:25:16 -07:00
Daniel Dressler
a51474d255
Add SDL support for keycode pass through
2013-06-29 19:15:55 -07:00
Daniel Dressler
824f4fb457
Add queue of pressed keys to input_state
2013-06-24 21:47:29 -07:00
Daniel Dressler
697c0df4fd
Make native's keycodes based on android's keycods
2013-06-24 21:46:56 -07:00
Daniel Dressler
4ed4b04379
Merge branch 'master' of github.com:daniel-dressler/native
2013-06-23 22:07:39 -07:00