twinaphex
d97e590aaf
Reimplement multi button state functions
2020-07-19 03:18:12 +02:00
twinaphex
cb5b22b6ac
(Android) Refactor axis functions
2020-07-18 22:38:23 +02:00
twinaphex
601a73fa8b
Use string_starts_with_size where possible - avoids the strlen
2020-06-25 12:51:04 +02:00
twinaphex
a2b83636d7
(Android) Some slight optimizations
2020-06-24 13:27:32 +02:00
twinaphex
689ac432d6
MOve input_joypad_analog call to inside retroarch.c instead of the
...
input driver itself, and make function static
2020-06-23 18:31:40 +02:00
twinaphex
d998f86f1f
Cleanups
2020-06-12 18:41:09 +02:00
twinaphex
4a91b11806
Further input driver standardization
2020-06-12 18:28:07 +02:00
twinaphex
eb78b608d3
Cut down on code duplication
2020-06-12 00:50:08 +02:00
twinaphex
dee0c5dbca
CTR buildfix + cleanups
2020-06-11 19:33:27 +02:00
twinaphex
9c1d40c364
(Android) Buildfix
2020-06-11 17:37:23 +02:00
twinaphex
6ddbf911e3
(SDL input) Build fix - and further cleanups in other
...
drivers
2020-06-11 17:12:08 +02:00
twinaphex
5d58acd2c0
(Android) Input driver optimizations - fill in device_model one time
...
inside the init function - mistake previously was putting it erroneously
inside an inner loop
2020-06-11 08:08:21 +02:00
twinaphex
108bbf0bf6
Turn this into static function
2020-06-11 07:12:54 +02:00
twinaphex
d893e880ec
Revert "(Android) android_input.c - optimize - hose code that always remains"
...
This reverts commit df4428bd7ac9130d312f954fbffa58eecf5e928a.
2020-06-11 07:10:15 +02:00
twinaphex
df4428bd7a
(Android) android_input.c - optimize - hose code that always remains
...
the same outside of loops
2020-06-11 06:46:40 +02:00
twinaphex
703cc7198d
(input drivers) cleanup log spam
2020-06-11 05:37:40 +02:00
twinaphex
a7a03984f1
(input drivers) Cleanups
2020-06-10 04:00:40 +02:00
twinaphex
26b3ccf2e5
Don't pass joypad_info by value
2020-02-27 07:33:14 +01:00
twinaphex
0ec3a8a449
(Input) Settings cleanups
2020-02-23 06:05:23 +01:00
twinaphex
a034909ae9
Cleanups
2020-01-30 16:35:59 +01:00
Vladimir Serbinenko
193d40bae4
Cleanup AMotionEvent_getAxisValue check
...
I though it was a weak loading but in fact it's explicit so
loading with some define magic, so we need to check for p_AMotionEvent_getAxisValue
to be clean. Binary code is actually the same
Tested by reverting path fix
2020-01-28 17:32:38 +01:00
Vladimir Serbinenko
6d8cbd2c4b
Fix so file for x64 android
...
In particular it affects Pixelbook which implements x64 Android
2020-01-28 17:23:46 +01:00
Vladimir Serbinenko
14c24e1fab
Remove unnecessarry check for AMotionEvent_getX
...
Unlike getAxis getX is always present and doesn't need to be checked
2020-01-28 17:04:32 +01:00
Vladimir Serbinenko
e290e9193d
Fix crash on Pixelbook
...
AMotionEvent_getAxisValue is a weak symbol and we need
to check for its presence before calling it.
2020-01-28 15:03:16 +01:00
twinaphex
65b4c2595e
Update set keyboard mapping code for input driver
2019-07-27 02:21:24 +02:00
twinaphex
f9f2e2f48d
(Android) This should fix the hotkey binding problems
2019-07-22 00:19:05 +02:00
orbea
e13ec54dc6
Fix --disable-overlay.
2019-07-21 10:26:42 -07:00
twinaphex
f4104f5c9a
Regression in
...
9c73d3305d
- joykey needs to be uint64_t and then is later cast to uint16_t -
is apparently important for hotkeys
2019-07-21 16:22:41 +02:00
twinaphex
66b88b60f2
Simplify this
2019-07-21 16:06:12 +02:00
twinaphex
4c69dad0ce
Define DEFAULT_MAX_PADS inside config.def.h - get rid of the messy
...
MAX_PADS macros everywhere
2019-07-19 12:55:38 +02:00
twinaphex
e1ab933bf2
(Android) These arrays should be at least as big as MAX_USERS
2019-07-18 23:40:32 +02:00
twinaphex
61746c8179
(Android) Refactor android_input_set_rumble to be safer
2019-07-18 20:47:51 +02:00
twinaphex
09c727c0ee
(Android) Fix one potential crash on older Android
2019-07-18 18:16:52 +02:00
twinaphex
0257e01bee
Refactor input_autoconfigure_connect - don't return
...
value - set input device name upon failure implicitly
2019-07-16 15:28:22 +02:00
twinaphex
2c7e7ac083
(Android) Buildfix
2019-07-04 22:26:19 +02:00
twinaphex
13aab06d2d
(Android) Should hopefully fix hotkey binds being mappable for
...
gamepad
2019-07-04 15:20:10 +02:00
twinaphex
584c0f5de5
(Android) Buildfix
2019-06-24 01:11:20 +02:00
twinaphex
9c73d3305d
Insert input_joypad_pressed into drivers themselves
2019-06-23 18:20:48 +02:00
twinaphex
439a07eecd
(Android) Put extra parentheses around this
2019-06-23 15:56:34 +02:00
twinaphex
334c64d159
(Android) Simplify input code
2019-06-23 15:55:40 +02:00
twinaphex
1e863b0f4d
Optimal way of grabbing all button states in a bitmasked value -
...
should allow us to do only one function call to the RA input
driver's input state callback
2019-06-23 06:09:45 +02:00
twinaphex
e51a98a295
Simplify android input code
2019-06-23 01:57:12 +02:00
twinaphex
ee3208ac39
Integrate video_driver.c into retroarch.c
2019-06-17 15:10:22 +02:00
Yoshi Sugawara
2dde223d23
Support returning the number of touches in the current input to support multi-touch inputs, like using a 2 finger touch to reload or secondary fire in lightgun games
2019-06-11 11:49:27 -10:00
Brad Parker
145013074e
android buildfix
2019-03-14 21:26:39 -04:00
Brad Parker
15e489fd0a
android: allow stylus/pen to move mouse without pressing down
2019-03-14 19:33:51 -04:00
Brad Parker
2f659e3e17
style nits
2019-03-14 19:33:02 -04:00
Twinaphex
ae35484eea
Merge pull request #8456 from phcoder/kbd
...
Fix keyboard on android
2019-03-13 11:35:27 +01:00
Brad Parker
44a06d69a6
android: add gamepad rumble support
2019-03-13 03:32:18 -04:00
Vladimir Serbinenko
fa1603127f
Fix keyboard on Android
...
This bug interferes with my BK-0010 libretro port.
2019-03-12 23:45:52 +01:00