2743 Commits

Author SHA1 Message Date
twinaphex
3301c04a97 input_remapping.c - reduce stack usage 2017-09-09 23:03:28 +02:00
twinaphex
3b26263126 Cleanup input_config_get_prefix 2017-09-08 06:28:40 +02:00
twinaphex
d6bcc45bb8 Reduce size of input_bind_map member variables 2017-09-08 06:11:19 +02:00
twinaphex
d1a41a742f Reduce joykey_label/joyaxis_label char arrays 2017-09-08 06:01:21 +02:00
twinaphex
c3bb76a05e Try to reduce variable sizes 2017-09-08 05:58:48 +02:00
twinaphex
24dc35d97b Cleanups 2017-08-31 12:17:06 +02:00
twinaphex
44a1a429c8 Change type of pid/vid to uint16_t 2017-08-31 12:14:27 +02:00
Rob Loach
fa75f47995
Fix includes of input_config 2017-08-30 23:14:27 -04:00
Rob Loach
d993bd3dcf Remove input_config.h include 2017-08-30 23:10:12 -04:00
Rob Loach
40f4d805a8 Fix non-existent include of input_config.h 2017-08-30 23:01:12 -04:00
twinaphex
e16371b8a5 Merge input_config.c and input_driver.c 2017-08-31 02:25:04 +02:00
twinaphex
0c5781ba8d (input_config.c) Cleanups 2017-08-31 01:57:51 +02:00
twinaphex
d8f27886ad Reduce size of input driver ids to uint16_t - should be enough 2017-08-30 14:02:18 +02:00
Ash
6b5aef09a1
[WiiU] DRC touch support as pointer device
Allow using the Gamepad's touch screen as a RETRO_DEVICE_POINTER.
Methodology could use some work, had to add an extra axis to
joypad in order to get the data transferred into the input driver.
Feel free to change this.
Needs to emulate RETRO_DEVICE_LIGHTGUN to really be useful.
Potential for Wiimote IR in future.

Partially addresses libretro/RetroArch#5294
2017-08-19 17:40:56 +10:00
twinaphex
24878694f8 Silence some warnings 2017-08-14 07:13:50 +02:00
twinaphex
ae2435cf16 Silence some more C89_BUILD warnings 2017-08-12 18:15:26 +02:00
twinaphex
cfde480e82 Add some C89_BUILD rules 2017-08-12 17:41:34 +02:00
twinaphex
7a490aa6d6 Use C-style comments 2017-08-10 21:25:30 +02:00
twinaphex
805c2ad529 Buildfixes 2017-08-10 21:22:30 +02:00
twinaphex
5101895cc9 (dinput) Buildfix 2017-08-09 16:53:06 +02:00
twinaphex
4e49155147 Cleanup 2017-08-09 15:54:24 +02:00
twinaphex
ee275c85d8 (dinput.c) Cleanups 2017-08-09 15:51:27 +02:00
twinaphex
ca80f13b2b Try to be somewhat safer here in case of null pointer derefences 2017-08-09 02:42:19 +02:00
denu8thell
c5b36320df Added option to change controller port to listen to for showing overlay input. 2017-08-08 09:56:27 -05:00
denu8thell
8e69a348e6 Add support for buttons that are multiple inputs. 2017-08-08 07:49:02 -05:00
denu8thell
f0606d60d2 Add option and menu setting for viewing inputs on overlay. 2017-08-08 06:50:39 -05:00
denu8thell
4ed715d0f3 Remove commented code in input_driver.c 2017-08-08 05:39:18 -05:00
denu8thell
23b2e4488a Add keyboard overlay support to input_overlay_add_inputs. 2017-08-08 05:32:34 -05:00
denu8thell
cc06b8b62e Added analog overlay support to input_overlay_add_inputs. 2017-08-08 05:10:44 -05:00
denu8thell
0df4186191 reduce scope of input_overlay_add_inputs to file. 2017-08-08 02:48:46 -05:00
denu8thell
4c31d41920 Moved input_overlay_add_inputs call out of input_driver.c, shortened arguments. 2017-08-08 02:31:26 -05:00
denu8thell
3d4e36455d use input_state instead of current_input->input_state. 2017-08-07 22:22:48 -05:00
denu8thell
c882e64653 Added button press lightup on overlay.
input_overlay_add_inputs added, still need to implement dpad and analog visuals on overlay. Also still needs to be restructured so input_overlay_post_poll is only called once.
2017-08-07 21:59:05 -05:00
twinaphex
2e7b4242f7 Cleanup 2017-08-07 01:48:21 +02:00
radius
7b09cd34db fix #5257 2017-08-06 20:02:17 -05:00
twinaphex
86dbcaf563 C89 buildfix 2017-08-06 17:09:30 +02:00
twinaphex
912c7265e6 Get rid of some warnings 2017-08-06 14:03:09 +02:00
radius
2db79242c9 remove remaps 2017-08-05 11:21:07 -05:00
radius
a973d5dc8a allow saving analog dpad mode and libretro device to remap files 2017-08-05 11:21:06 -05:00
radius
9862b75b4b allow specifying libretro device and analog dpad mode on remap files 2017-08-05 11:21:06 -05:00
radius
f5360d0d82 extra devices 2017-08-04 01:17:32 -05:00
radius
2ef75cb300 buildfix 2017-08-04 01:11:31 -05:00
radius
a6b24b4d42 fire tv hack 2017-08-04 01:09:05 -05:00
Zoran Vuckovic
2a92b22128 Add mice info log 2017-07-28 13:03:26 +02:00
Brad Parker
b9036e26a7 fix buffer overflow 2017-07-22 16:08:05 -04:00
Zoran Vuckovic
aa99f4f5ba Disable keyboard input and restrict mouse input in some cases 2017-07-18 01:16:48 +02:00
Brad Parker
e067dac2a4 fix keyboard regression with mupen cores 2017-07-08 17:39:29 -04:00
twinaphex
dc521b42d1 Cleanup 2017-07-05 11:55:17 +02:00
twinaphex
ffc393cafc Get rid of unused variables 2017-07-02 20:58:32 +02:00
Paolo Bonzini
d1dc2e9670 add support for remote control devices and other ID_INPUT_KEY devices
* the remote control presents itself as ID_INPUT_KEY, not
ID_INPUT_KEYBOARD.  However, ID_INPUT_KEYBOARD is a subset of
ID_INPUT_KEY.

* the remote control lacks the backspace and enter keys, which are hard
coded in RetroArch. It has "back" and "ok" instead, so map those to
RETROK_BACKSPACE and RETROK_ENTER as well.

Remote controls also have no ESC key, but that one is customizable
and I used the Power key of the remote (which already has a mapping
to RETROK_POWER).

The functionality provided is really the bare minimum, but it is enough
to teach a kid "press the power button here to watch TV"; compared to
pressing L1+R1+START+SELECT and navigating to the RetroArch's "quit"
menu item, that hopefully has more chances of success.
2017-07-02 10:50:00 +02:00