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
c7cd327b5b
Rearrange input state input drivers for ANALOG - do joypad
...
processing first, then keyboard second
2020-06-13 05:25:10 +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
0b95a8838a
(OSX) Cleanups
2020-06-12 00:30:24 +02:00
twinaphex
88a93dc648
(OSX) Buildfix
2020-06-11 21:00:28 +02:00
twinaphex
dee0c5dbca
CTR buildfix + cleanups
2020-06-11 19:33:27 +02:00
twinaphex
f96e148f74
Change to 1 instead
2020-06-11 18:43:53 +02:00
twinaphex
e2e5366925
Cleanups
2020-06-11 18:43:30 +02:00
Twinaphex
dc967f41ec
(Cocoa) Create cocoa_is_pressed
2020-06-11 18:40:14 +02:00
twinaphex
a7a03984f1
(input drivers) Cleanups
2020-06-10 04:00:40 +02:00
Alex Kornitzer
cdfb8348b0
cocoa: use absolute positioning over relative
...
Now that we clip the window to locate the cursor correctly on re-entry
we need to do our cursor calculations using absolute coordinates
2020-05-11 00:58:06 +01:00
Alex Kornitzer
edfafd9fad
cocoa: fix mouse movement
...
The input driver was using absolute coordinate arithmetic while making
use of delta changes for each coordinate, as a result the absolute
change netted to zero. This fixes that and tries to mitigate cursor
event sync issues (sync issues will require more work).
2020-05-10 22:44:44 +01:00
twinaphex
26b3ccf2e5
Don't pass joypad_info by value
2020-02-27 07:33:14 +01:00
twinaphex
65b4c2595e
Update set keyboard mapping code for input driver
2019-07-27 02:21:24 +02:00
twinaphex
bee9984745
Update all other input drivers
2019-07-22 01:20:00 +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
9c73d3305d
Insert input_joypad_pressed into drivers themselves
2019-06-23 18:20:48 +02:00
twinaphex
7a2fa44c4b
(Cocoa) Add bitmask code
2019-06-23 17:05:01 +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
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex
ea09c29e04
Update implementations for other input drivers - not all input
...
drivers support this yet
2018-07-15 14:34:02 +02:00
twinaphex
a82bb0ec94
Create special type input_bits_t
2018-04-08 20:21:12 +02:00
twinaphex
69f85556a3
Get rid of meta_key_pressed
2017-12-18 05:59:57 +01:00
twinaphex
7b210ccf37
Don't call meta key pressed if not bound
2017-12-18 05:49:17 +01:00
twinaphex
f0c143766e
Change to 256bit macros
2017-12-05 12:07:35 +01:00
twinaphex
e94300a581
Get rid of a lot of RARCH_INPUT_STATE_BIT_ macros - replace them
...
with BIT128_ equivalents instead
2017-12-05 09:22:56 +01:00
David Walters
f09477d46a
additional compile fixes
2017-11-28 10:36:16 +00:00
twinaphex
e16371b8a5
Merge input_config.c and input_driver.c
2017-08-31 02:25:04 +02:00
twinaphex
e8c73c6683
Rewrite other input drivers too
2017-06-10 11:22:24 +02:00
twinaphex
d32cf4c866
Slightly rewrite input_state implementations of cocoa_input.c
...
and linuxraw_input.c
2017-06-10 11:09:58 +02:00
twinaphex
473aed632d
Get rid of this
2017-06-09 02:14:48 +02:00
Twinaphex
3dede6d71a
OSX buildfix
2017-06-07 00:35:11 +02:00
twinaphex
c3f5c499f3
Simplify cocoa_input
2017-06-07 00:33:03 +02:00
twinaphex
6b3dbff75f
Merge input_driver.c and input_joypad_driver.c
2017-06-06 05:56:02 +02:00
twinaphex
7f4b490fdb
Prevent implicit memsets with struct video_viewport
2017-04-15 19:43:52 +02:00
Twinaphex
b7b3b2cb5f
Try to prevent truckload of warnings on iOS
2017-02-26 10:33:03 +01:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
twinaphex
8bd12368ef
Pass joypad_driver name to input_driver_init function and make
...
sure we don't need to access the settings struct from the
input driver
2017-01-10 17:59:48 +01:00
twinaphex
d48141041d
Pass joypad_info to input_state function callback - less
...
settings pointer grabbing
2017-01-10 17:40:21 +01:00
twinaphex
da4d2a9f42
Remove conditionals for device JOYPAD from input_state callback functions
2017-01-10 17:05:04 +01:00
twinaphex
b9945f05f1
Pass joypad_info to input_joypad_analog
2017-01-10 03:53:57 +01:00
twinaphex
6376f2af68
Add rarch_joypad_info_t
2017-01-10 03:44:53 +01:00
twinaphex
dc7549434f
Add headers
2016-12-07 08:10:02 +01:00
twinaphex
a12d0d082d
Move input_translate_coord_viewport to video_driver.c
2016-12-07 08:07:11 +01:00
twinaphex
2ba311274e
Simplify input_translate_coord_viewport
2016-12-05 05:18:36 +01:00