Commit Graph

2709 Commits

Author SHA1 Message Date
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
twinaphex
60296c0b7d Improve logs some more 2017-07-01 04:37:32 +02:00
radius
0a7968761f improve logging 2017-06-30 20:05:30 -05:00
twinaphex
fe829e5eb0 Fix C89_BUILD 2017-06-28 18:01:04 +02:00
twinaphex
36f700927e Silence some more ioctl coverity warnings 2017-06-28 07:00:28 +02:00
twinaphex
fa8db9b4d2 Silence another Coverity warning 2017-06-28 06:59:00 +02:00
twinaphex
b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex
20e7ac4280 Buildfix 2017-06-26 03:50:34 +02:00
twinaphex
411ade7fb9 Mingw buildfix 2017-06-26 03:47:47 +02:00
twinaphex
5d1cfc47cc C89_BUILD fixes 2017-06-25 04:05:34 +02:00
Twinaphex
5c5c5ecbdf Revert "udev input: support controlling the menu with a TV remote control" 2017-06-22 20:53:07 +02:00
Twinaphex
8068bcccbe Merge pull request #5076 from bonzini/master
udev input: support controlling the menu with a TV remote control
2017-06-21 23:35:22 +02:00
twinaphex
f087419165 Rename platform_linux.c to platform_unix.c 2017-06-19 17:38:49 +02:00
Paolo Bonzini
d5cdbca322 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-06-19 15:09:13 +02:00
Paolo Bonzini
f850e64037 add volume down and volume up keys 2017-06-19 13:22:34 +02:00
twinaphex
914acd3956 Revert "Get rid of some warnings"
This reverts commit 3d45ba29d8.
2017-06-18 20:02:50 +02:00
twinaphex
b134c5d23c Revert "Set joypad_info.axis_threshold only once"
This reverts commit 605d877279.
2017-06-18 20:01:48 +02:00
twinaphex
605d877279 Set joypad_info.axis_threshold only once 2017-06-18 19:56:31 +02:00
twinaphex
3d45ba29d8 Get rid of some warnings 2017-06-18 19:47:40 +02:00
twinaphex
5c973b6649 Add another entry to debug logging 2017-06-18 15:52:17 +02:00
twinaphex
2d76e98c22 Add debug logging 2017-06-18 15:48:44 +02:00
Twinaphex
6db8aa8a65 Merge pull request #5067 from danieljg/master
Added code for single port psx to ps3 adapter
2017-06-18 11:16:15 +02:00
Daniel Jimenez
5267b630f8 Added code for single port psx to ps3 adapter
On branch master
 Changes to be committed:
	modified:   ../griffin/griffin.c
	modified:   ../input/connect/connect_ps2adapter.c
	new file:   ../input/connect/connect_psxadapter.c
	modified:   ../input/connect/joypad_connection.c
	modified:   ../input/connect/joypad_connection.h
2017-06-17 14:19:09 -07:00
Brad Parker
fca0e52bdd win32: make includes lowercase to fix cross-compilation on linux 2017-06-13 22:25:47 -04:00
twinaphex
1598042e8e (udev) Keyboard should work again in DRM/KMS 2017-06-12 12:09:19 +02:00
twinaphex
a41b8bc199 Direct usage of epoll 2017-06-11 20:51:21 +02:00
twinaphex
e92feb85af Use epoll functions directly 2017-06-11 20:44:02 +02:00
twinaphex
895c817fa5 ifdef this 2017-06-11 19:56:14 +02:00
twinaphex
5e0e970c92 Cleanups 2017-06-11 19:48:40 +02:00
Brad Parker
42e56c8432 fix all_users_control_menu logic 2017-06-11 12:28:47 -04:00
twinaphex
0751cb238d Add HAVE_HID ifdefs 2017-06-11 18:12:38 +02:00
twinaphex
060753258a Combine input_driver.c and input_keyboard.c 2017-06-11 17:51:12 +02:00
twinaphex
68516cf74c (input_keyboard.c) cleanups 2017-06-11 17:35:48 +02:00
twinaphex
e2d4ff5614 Don't need ctype 'isprint' here anymore 2017-06-11 16:56:31 +02:00
twinaphex
9ec396c0ea Remove some dead code 2017-06-11 16:51:50 +02:00