85 Commits

Author SHA1 Message Date
Zoran Vuckovic
11559f294a Add multiple mice support to udev driver 2017-06-02 07:57:07 +02:00
twinaphex
f83a26c8b0 (udev_input.c) Simplifications 2017-05-20 20:50:23 +02:00
twinaphex
9f6dc975da Simplify udev_input.c 2017-05-20 20:35:42 +02:00
twinaphex
5a9dbf7e4f Merge keyboard files for udev/x11 2017-05-20 19:44:04 +02:00
twinaphex
126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
twinaphex
f9bc2d3783 Use memcmp instead of string_is_equal where possible for
better performance
2017-04-21 22:47:15 +02:00
twinaphex
7f4b490fdb Prevent implicit memsets with struct video_viewport 2017-04-15 19:43:52 +02: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
Hans-Kristian Arntzen
b2059dcb79 Implement basic Wayland keyboard and mouse. 2016-12-17 20:28:08 +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
twinaphex
021559a877 Get rid of runloop.h dependencies inside input/ dir 2016-12-02 06:07:45 +01:00
Brad Parker
ba54f20626 initial libcaca video driver 2016-12-01 12:13:45 -05:00
twinaphex
a9e627ca57 (udev_input.c) Rename static function 2016-12-01 17:33:41 +01:00
twinaphex
200be98052 (udev_input.c) use udev_common.c 2016-12-01 16:51:43 +01:00
twinaphex
9afa24ea70 Reuse udev_common.c function 2016-12-01 15:05:17 +01:00
twinaphex
ce98a4dd19 Get rid of now unused input_driver_key_pressed 2016-10-29 04:57:28 +02:00
twinaphex
d246d320c7 Get rid of messy 'all_users_control_menu' hack - will be dealt
with better once menu_input branch has been merged
2016-10-27 07:00:13 +02:00
twinaphex
d6901685f7 Prevent crash with udev driver 2016-10-26 10:21:56 +02:00
twinaphex
294f54ebf0 Cleanup udev_pointer_state 2016-10-24 02:47:29 +02:00
twinaphex
647ffca76c Optimize input_joypad_pressed code 2016-10-23 20:37:12 +02:00
twinaphex
6a02cf174e udev_input_poll - add early return in case udev is NULL 2016-09-18 20:32:16 +02:00
twinaphex
075aea2289 Header include cleanups 2016-09-06 00:56:00 +02:00
twinaphex
acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
Brad Parker
a17679a0c5 add input option to allow any user to control the menu 2016-09-03 19:01:29 -04:00
twinaphex
20f7d82f95 More header include cleanups 2016-09-01 18:07:44 +02:00
twinaphex
ba7d638b99 Use string_is_equal 2016-08-29 18:46:41 +02:00
twinaphex
d5d2f7f8ee Fix resource leaks 2016-05-23 22:17:28 +02:00
twinaphex
6db13ab51d (udev) cleanup 2016-04-28 22:50:02 +02:00
twinaphex
fbd2e9aa84 Use string_is_equal more 2016-01-21 02:48:00 +01:00
twinaphex
ef7a786527 Attempt to prevent segfault when pressing Enter in DRM/KMS mode 2016-01-02 22:28:21 +01:00
twinaphex
b8bbdc6f4c Revert udev drivers 2015-12-17 03:02:48 +01:00
twinaphex
7cb78cca58 Make g_epoll static 2015-11-30 18:14:07 +01:00
twinaphex
54655c37cd Create epoll_waiting 2015-11-30 18:08:00 +01:00
twinaphex
ecbfc72e9b Create epoll_common 2015-11-30 18:05:10 +01:00
twinaphex
6d90c42bb5 We need to check for the instance where udev is only initialized
for the joypad part and not the general input driver
2015-11-30 16:56:32 +01:00
twinaphex
62260cf892 Turn g_udev static 2015-11-30 16:52:29 +01:00
twinaphex
28602d84af Make g_udev_mon static 2015-11-30 16:47:43 +01:00
twinaphex
b76481b21e Create udev_mon_hotplug_available 2015-11-30 16:42:52 +01:00
twinaphex
2db1197942 Expand udev_common.c 2015-11-30 16:39:22 +01:00
twinaphex
dff44d8d49 (udev) split up keyboard code to separate files 2015-11-29 15:35:34 +01:00
twinaphex
6c7da0e503 (udev) Change function signature of callback 2015-11-29 06:34:35 +01:00
twinaphex
c23846c5dc Merged input_joypad.c and input_joypad_driver.c 2015-11-28 16:22:49 +01:00
twinaphex
a6ccc188a8 Rename input_common.c to input_config.c 2015-11-28 02:22:58 +01:00