Commit Graph

2059 Commits

Author SHA1 Message Date
twinaphex
3dff698644 Turn retro_input_t into struct 2016-06-25 09:04:00 +02:00
twinaphex
114cc081aa Avoid warning 'variable may be used uninitialized' 2016-06-20 02:45:07 +02:00
twinaphex
7c904d47c2 Cleanups 2016-06-11 21:51:28 +02:00
twinaphex
cf996f724e Rename HAVE_NETWORK_GAMEPAD to HAVE_NETWORKGAMEPAD - and
don't bake it in for the C89 build
2016-06-07 15:23:07 +02:00
twinaphex
afe67ca254 C89/C90 don't support bitfields on uint8_t - work around this 2016-06-07 14:47:54 +02:00
twinaphex
d44062d841 Make HAVE_HID completely optional 2016-06-07 03:01:33 +02:00
twinaphex
b87bbc7f98 Use retro_common_api.h 2016-06-05 05:31:55 +02:00
twinaphex
5230aeb9d0 Use retro_common_api.h 2016-06-03 06:02:49 +02:00
twinaphex
7ce2ac082a Use retro_common_api.h 2016-06-03 05:54:21 +02:00
twinaphex
d8b3597455 menu_cbs_deferred_push.c - Fix 'array compared against 0' 2016-06-02 20:51:27 +02:00
twinaphex
280eb95b9a Prevent logically dead code warning 2016-06-01 05:31:05 +02:00
twinaphex
a98616b45b Fix explicit NULL dereferenced/dereference before null check warnings 2016-05-26 17:47:21 +02:00
twinaphex
142dd82067 (input_overlay.c) Prevent dereference after null check 2016-05-26 17:35:46 +02:00
twinaphex
2f7684c743 (Android) Cleanups 2016-05-25 16:03:32 +02:00
radius
b6b2fdfaa6 comment out xbox 360 & dualshock hacks that are not needed anymore, friendly labels can be applied on the autoconf files instead 2016-05-25 00:47:01 -05:00
twinaphex
40023833e0 (IOHIDManager) Plug another potential leak 2016-05-25 02:35:13 +02:00
twinaphex
f7ff1c66c4 Don't need to include this header anymore 2016-05-25 00:58:12 +02:00
twinaphex
cd176d0737 Remove input_overlay_init 2016-05-25 00:57:58 +02:00
twinaphex
ae0da06d8f Make input overlay state a part of struct input_overlay 2016-05-25 00:47:24 +02:00
twinaphex
5a4ada4311 Avoid some warnings by using return value for config_get_int 2016-05-24 23:53:35 +02:00
twinaphex
25eaab0a2b Start passing input_overlay_t * state around to other functions 2016-05-24 23:15:19 +02:00
twinaphex
bfa6f49ae6 Fix logically dead code warnings 2016-05-24 22:12:51 +02:00
twinaphex
5656959085 Free overlay_ptr 2016-05-24 15:30:18 +02:00
twinaphex
160ac49089 (input_overlay.c) Cleanup 2016-05-24 15:29:12 +02:00
twinaphex
fd7e2cd394 input_overlay_new - Call input_overlay_free from outside 2016-05-24 15:25:46 +02:00
Twinaphex
c1e82d3f1a (IOHidManager) Fix adapter leak 2016-05-24 14:01:46 +02:00
twinaphex
4e74a990d4 (IOHIDManager) Free some resource leaks 2016-05-24 13:48:02 +02:00
twinaphex
d5d2f7f8ee Fix resource leaks 2016-05-23 22:17:28 +02:00
twinaphex
974d3245d2 Fix logically dead code warnings 2016-05-23 22:04:00 +02:00
twinaphex
69759f5fd7 Remove logically dead code 2016-05-23 21:55:30 +02:00
twinaphex
faef7b498d (Coverity) Fix some resource leaks 2016-05-23 21:28:43 +02:00
twinaphex
0a3224180b (Coverity) Fix uninitialized variables; fix some resource leaks 2016-05-23 21:19:28 +02:00
twinaphex
6c840cdd59 (input_autodetect.c) Use dir_list_new_special 2016-05-21 13:31:41 +02:00
Twinaphex
1f7c51b458 (QNX) more build fixes 2016-05-19 20:14:58 +02:00
Twinaphex
85331042be (QNX) Build fixes 2016-05-19 20:02:39 +02:00
twinaphex
7e36dcb27f move video_texture_image to libretro-common and rename it to image_texture.c 2016-05-18 12:58:00 +02:00
twinaphex
5845a9944d Add more HAVE_THREADS ifdefs 2016-05-11 19:02:43 +02:00
twinaphex
4a7ab8366b Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
twinaphex
b79b2dca13 Create performance_counters 2016-05-10 08:53:14 +02:00
twinaphex
3dc55d4e72 command.c - cleanups 2016-05-09 21:36:17 +02:00
twinaphex
b3422b33fd Add parameter to command_new 2016-05-09 21:25:37 +02:00
twinaphex
f15f28ce02 Refactor some command code 2016-05-09 21:23:53 +02:00
twinaphex
2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex
523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex
a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex
3c74031c2f Rename rarch_cmd to command 2016-05-09 20:10:08 +02:00
twinaphex
344d1bf949 move remote.c to input/ 2016-05-09 17:37:29 +02:00
twinaphex
685b234350 (remote.c) Rename functions 2016-05-09 07:19:18 +02:00
twinaphex
f8a7154557 Rename rarch_ functions 2016-05-09 07:09:26 +02:00
twinaphex
e07bba66f3 Buildfix 2016-05-08 23:52:05 +02:00
twinaphex
725c202498 Remove input_driver_ctl 2016-05-08 23:12:04 +02:00
Hans-Kristian Arntzen
8870e85395 More fixes for menu_display_ctl.
Grep shows nothing now.
2016-05-08 14:18:12 +02:00
Hans-Kristian Arntzen
66c4f608e6 Clear out rest of video_driver_ctl use. 2016-05-08 14:10:28 +02:00
Hans-Kristian Arntzen
d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
twinaphex
80a453bad1 De-ioctlify command.c 2016-05-08 00:25:04 +02:00
twinaphex
4ec6cb47ec Use BIT32_SET 2016-05-06 05:16:15 +02:00
twinaphex
cce9190cb2 More cleanups 2016-05-06 04:51:00 +02:00
twinaphex
72bc5e134a Cleanup input_config_autoconfigure_joypad 2016-05-06 04:50:02 +02:00
twinaphex
f1098d8f6a Style nit 2016-05-01 20:50:26 +02:00
Diablodiab
58c5cc6f46 Change ALooper_pollAll in android_input_poll from a non blocking call into a 1 ms
blocking call. For some reason this allows more input events to queue up in the
input queue for processing making it easier to press multiple gamepad buttons and
have it register within a single frame.
2016-04-29 00:42:09 +02:00
twinaphex
6db13ab51d (udev) cleanup 2016-04-28 22:50:02 +02:00
twinaphex
48eb86cb47 (Win32) Buildfix 2016-04-28 20:52:30 +02:00
twinaphex
895783d854 Move some variables 2016-04-28 20:49:13 +02:00
twinaphex
7dffc6286b Internally change directory settings 2016-04-28 19:26:02 +02:00
twinaphex
4f2d1d7c93 Silence warning 'val may be unused uninitialized in this function' 2016-04-21 07:22:26 +02:00
twinaphex
0f21ab247c header cleanup 2016-04-17 07:37:00 +02:00
twinaphex
97d5a971a4 Change header includes 2016-04-17 07:34:01 +02:00
twinaphex
811a2d1419 Create input_defines.h 2016-04-17 07:32:08 +02:00
Ernesto Ramirez
c4f2de321a (GX) Added PS2/PSX Controller Adapter for HID driver. 2016-04-16 19:33:17 -05:00
twinaphex
89d896339c Don't need to include system.h 2016-03-24 03:47:22 +01:00
twinaphex
d04940a159 (input_keyboard.c) Refactor more functions into static functions 2016-03-24 03:45:16 +01:00
twinaphex
ce9573e4c3 Create RARCH_INPUT_KEYBOARD_CTL_LINE_FREE 2016-03-24 03:36:38 +01:00
twinaphex
69bcac61dd input_hid_driver.h - cleanups 2016-03-23 06:54:37 +01:00
twinaphex
76d06c89ca Make some functions static 2016-03-23 06:53:19 +01:00
twinaphex
8f7f40b86c Move more functionality to input_keyboard_ctl 2016-03-23 06:44:00 +01:00
twinaphex
56c47bbe56 Change input_driver_ctl calls to input_keyboard_ctl 2016-03-23 06:19:33 +01:00
twinaphex
2fee5edba4 Move linefeed enable enums to input_keyboard.c 2016-03-23 06:18:09 +01:00
twinaphex
92d2765157 Create input_keyboard_ctl 2016-03-23 06:11:39 +01:00
twinaphex
61bae588fb Header include changes 2016-03-22 02:45:25 +01:00
twinaphex
ac6362cae4 Combine list_special files 2016-03-20 17:28:24 +01:00
twinaphex
93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex
ef4a1a3c0f (libretro-common) Rename fifo_buffer to fifo_queue 2016-03-20 14:06:21 +01:00
twinaphex
8b4a41155d C89_BUILD buildfixes 2016-03-20 05:24:05 +01:00
twinaphex
a446f9040b Push these updates 2016-03-18 00:32:57 +01:00
twinaphex
2e080967b0 Reimplement grab mouse code a bit - we really need to drastically
rewrite this
2016-03-14 14:37:18 +01:00
radius
f41280e82c [remapping] fix saving for players other than 1 2016-03-06 13:15:05 -05:00
twinaphex
15c9e0ae7e Add fallback 2016-03-06 01:31:46 +01:00
twinaphex
5e99d163de Puti n call to input_keyboard_event when compiling without HAVE_XKBCOMMON 2016-03-05 22:18:22 +01:00
twinaphex
81e13aa2c1 (command.c) Cut down on some functions 2016-03-04 17:35:44 +01:00
twinaphex
6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
twinaphex
c14e281544 (Win32) Buildfix 2016-02-26 22:45:30 +01:00
twinaphex
0f8f980c8f Start reimplementing Zarch joypad input 2016-02-26 22:29:10 +01:00
Twinaphex
33356f2df6 (OSX) Buildfix 2016-02-26 13:40:29 +01:00
radius
66a8e08252 remove saving remapping, use the automated method instead 2016-02-21 13:55:04 -05:00
radius
8f41174fca remove btn/axis identifier when no descriptor was available 2016-02-15 22:54:28 -05:00
radius
e97de06f24 add a fallback for cases when an autoconf is present but it doesn't have descriptors 2016-02-15 22:48:35 -05:00
twinaphex
bdbd3098dd Style nits 2016-02-15 07:16:09 +01:00
twinaphex
f1a572822b Create RARCH_DISPLAY_CTL_VIEWPORT_INFO 2016-02-14 05:42:27 +01:00
twinaphex
6d8ee1f8d4 Remove input_driver_data_ptr_is_same 2016-02-13 07:40:02 +01:00
twinaphex
016ee293cd Remove input_driver_grab_mouse 2016-02-13 07:38:09 +01:00