2697 Commits

Author SHA1 Message Date
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 3d45ba29d8f18f0f3c4360231511bbcf8933cef8.
2017-06-18 20:02:50 +02:00
twinaphex
b134c5d23c Revert "Set joypad_info.axis_threshold only once"
This reverts commit 605d87727993f8a8b96a8b42a938d0758d52e67a.
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
twinaphex
5081d03194 Cleanups 2017-06-11 16:26:27 +02:00
twinaphex
7e9cb39519 Use BIT64_SET 2017-06-11 16:24:24 +02:00
twinaphex
612cb54cfe Merge input_hid_driver 2017-06-11 08:56:36 +02:00
twinaphex
95e588ce0f Fix C89_BUILD 2017-06-10 12:52:45 +02:00
twinaphex
9b13894438 Slightly rewrite input_state for android input driver 2017-06-10 12:48:09 +02:00
twinaphex
34be5566dd (udev fix) This fixes touchpad movement inside the menu 2017-06-10 12:27:22 +02:00
twinaphex
84f5fa1f26 (epoll_common.c) Cleanups; don't use verbosity logging inside 2017-06-10 12:07:01 +02:00
twinaphex
c70526b7af Fix hotplug regressions with udev 2017-06-10 11:58:22 +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
37656eed84 (udev_input.c) Rework input_state 2017-06-10 10:58:56 +02:00
twinaphex
cea6dbbb6a (wayland) Fix input issue 2017-06-10 08:40:28 +02:00