Commit Graph

2228 Commits

Author SHA1 Message Date
twinaphex 8ce882c829 Should hopefully fix most of the remaining issues 2016-10-26 10:29:26 +02:00
twinaphex d6901685f7 Prevent crash with udev driver 2016-10-26 10:21:56 +02:00
twinaphex 858f96d082 Try to prevent crashes when amount of selected users is less
than what a core can support
2016-10-26 10:19:22 +02:00
twinaphex 948b206b60 Get rid of using hardcoded labels 2016-10-25 19:50:03 +02:00
Brad Parker c70ac3986c make input hotkey/user bind strings translatable 2016-10-24 18:22:53 -04:00
twinaphex 2663d8e694 (input_keyboard.c) Simplify code 2016-10-24 07:09:50 +02:00
twinaphex f17080091b Simplify input_keyboard_event 2016-10-24 07:06:59 +02:00
twinaphex 5ea2078638 Attempt buildfix 2016-10-24 06:40:09 +02:00
twinaphex 7a18b053c4 C89_BUILD fixes 2016-10-24 05:57:13 +02:00
twinaphex 3702fde113 Simplify some input/video functions 2016-10-24 03:05:55 +02:00
twinaphex 294f54ebf0 Cleanup udev_pointer_state 2016-10-24 02:47:29 +02:00
twinaphex d5d49e602c Cleanup input_joypad_analog 2016-10-23 21:59:53 +02:00
twinaphex b0ed69f05c Optimize android_keyboard_port_input_pressed 2016-10-23 20:43:14 +02:00
twinaphex 57457c2d70 Optimize apple_input_is_pressed 2016-10-23 20:42:09 +02:00
twinaphex 647ffca76c Optimize input_joypad_pressed code 2016-10-23 20:37:12 +02:00
twinaphex 2f12d8982c input_joypad_pressed - small opts 2016-10-23 20:08:27 +02:00
twinaphex 8cc5b09428 Get rid of slow wrapper function input_driver_state 2016-10-23 04:38:08 +02:00
twinaphex f03e22b003 Revert "Do away with some NULL checks"
This reverts commit 07d86a7feb.
2016-10-22 17:45:14 +02:00
twinaphex 07d86a7feb Do away with some NULL checks 2016-10-22 17:31:20 +02:00
twinaphex d24c1a280d input_poll - avoid function call 2016-10-22 17:29:19 +02:00
twinaphex 671f9cc8cc retro_input_t can go now 2016-10-22 17:03:59 +02:00
twinaphex e2b16a1f15 Use straight uint64_t types for input states 2016-10-22 17:03:20 +02:00
twinaphex ba6ae50e70 Revert "input_keys_pressed - start splitting up big for loop into"
This reverts commit a564ac0701.
2016-10-22 16:23:16 +02:00
twinaphex a564ac0701 input_keys_pressed - start splitting up big for loop into
optimized smaller parts
2016-10-22 07:05:19 +02:00
twinaphex 4d002ec682 Don't have to grab this 2016-10-22 06:33:15 +02:00
twinaphex 6226abb3f8 (input_driver.c) Small cleanups 2016-10-22 06:05:05 +02:00
twinaphex 8fbec2348e Move turbo button code to input_poll (should verify if
turbo buttons still work up to this point)
2016-10-22 06:00:42 +02:00
twinaphex 9d3228e523 More translatable strings 2016-10-22 04:57:46 +02:00
twinaphex d6db2fe227 Change some strings 2016-10-22 04:52:46 +02:00
twinaphex e2de11a698 Cleanup some more strings 2016-10-22 04:23:40 +02:00
twinaphex 88738b4ef5 Don't need to do analog dpad code for input_keys_pressed 2016-10-21 22:37:49 +02:00
twinaphex ee8176772d Move state tracker nput code to input/input_driver.c 2016-10-21 22:19:35 +02:00
twinaphex aa795a9238 input_keys_pressed - small cleanup 2016-10-21 22:04:20 +02:00
twinaphex 6b30c41595 Simplify input_keys_pressed 2016-10-21 21:12:12 +02:00
twinaphex 87fb7738f7 Cleanups 2016-10-20 03:42:57 +02:00
twinaphex e85fca7b75 input_state and input_keys_pressed - prevent some more
function calls
2016-10-20 03:39:32 +02:00
twinaphex 5eb5195169 input_keys_pressed - get rid of unnecessary for loop 2016-10-20 03:10:36 +02:00
twinaphex 4a56ed618a Simplify input_keys_pressed 2016-10-20 02:39:45 +02:00
twinaphex 6746b06e73 input_driver_keys_pressed - merge into input_keys_pressed 2016-10-20 02:24:45 +02:00
twinaphex f08609361e input_keys_pressed - prevent extraneous leaf function calls 2016-10-20 02:22:48 +02:00
twinaphex 546dd0422f Don't call extraneous functions inside input_keys_pressed 2016-10-20 02:20:40 +02:00
twinaphex 4b807b482f Create runloop_poll 2016-10-20 02:17:17 +02:00
twinaphex a4a1e96210 Prevent more implicit memsets 2016-10-16 01:40:29 +02:00
twinaphex b2dcd44c3a (input_driver.c) Prevent implicit memsets 2016-10-16 01:20:50 +02:00
Romain Graillot a64e497189 Renamed new settings to match change & cleaned code 2016-10-15 13:38:42 +02:00
Romain Graillot ade4e7857b Add possibility to switch touch surface on vita build 2016-10-15 13:28:35 +02:00
Francisco José García García 1ea5a80d02 (VITA) Add Backtouch enable option 2016-10-14 21:57:18 +02:00
twinaphex 80339014a5 (input_config.c) Prevent implicit memsets 2016-10-09 08:58:44 +02:00
twinaphex 119479f705 (input_autodetect) Don't do implicit memsets of char variables 2016-10-09 08:55:17 +02:00
twinaphex 37f3942985 (Vita) Hook up L3/R3 in autoconfig 2016-10-07 08:24:48 +02:00
Twinaphex db8eb903aa Merge pull request #3737 from frangarcj/master
(VITA) Disable Back Touch if in menu
2016-10-05 02:00:40 +02:00
Twinaphex 183dc914c4 (Cocoa) Add stub scrollWheel callback 2016-10-05 02:00:11 +02:00
Francisco José García García d32bd63d3d (VITA) Disable Back Touch if in menu 2016-10-05 01:34:26 +02:00
twinaphex 39fd6560f6 (input_autodetect.c) Cleanups 2016-10-04 10:40:37 +02:00
twinaphex 7d06e6c48f Use string_is_equal instead of strncmp 2016-10-04 10:18:17 +02:00
twinaphex 72caa55e7b Cleanup input_autodetect.c 2016-10-04 10:16:52 +02:00
twinaphex b3d4fe398b autoconfig should be fixed now for XInput - wrong binds 2016-10-04 08:21:32 +02:00
twinaphex 8b889084f6 Get rid of ret variable 2016-10-04 07:41:58 +02:00
twinaphex f8d64b703e Simplify input_autoconfigure_joypad_from_conf_internal 2016-10-04 07:39:41 +02:00
twinaphex c2bb410d8d Take out HAVE_BUILTIN_AUTOCONFIG - always include it 2016-10-04 07:33:57 +02:00
Sunguk Lee 8d09e0d421 (Vita) Improve vibration values
- Can vibrate both motors at same time
- DS3 & DS4 have difference motor speed range
- Clear vibration settings at disconnect controller
2016-10-03 18:03:20 +09:00
twinaphex 91b1889873 (X11) Mouse input is no longer registered when we are on the
titlebar of the window or we are no longer inside the window
2016-10-03 06:50:00 +02:00
Francisco José García García 59d13c7131 (VITA) Fix actuator 2016-10-02 14:02:37 +02:00
twinaphex d376ea0c9d Merge fixes 2016-10-01 08:24:02 +02:00
twinaphex 8f163e6972 Revert "Move global->name to paths.c"
This reverts commit 6ee7b733aa.
2016-10-01 08:18:23 +02:00
twinaphex 4567fdef52 Take out libretro_device from global struct 2016-10-01 06:22:57 +02:00
Sunguk Lee bd9db4ac55 (Vita) Back touch screen use L2/R2/L3/R3 2016-10-01 04:53:35 +09:00
Twinaphex ded68451ce Merge pull request #3697 from d3m3vilurr/vita-extend-input
(Vita) Improve controller features of PSTV
2016-09-30 19:33:04 +02:00
Sunguk Lee 90678dd3de (Vita) Autodetect connection of controllers on PSTV 2016-10-01 02:26:28 +09:00
Sunguk Lee a2d9ca3e47 (Vita) Support L2/R2 on PSTV 2016-09-30 23:53:13 +09:00
twinaphex 6ee7b733aa Move global->name to paths.c 2016-09-30 06:11:11 +02:00
twinaphex 9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
twinaphex d9d388a8fe linuxraw_joypad.c - cleanup 2016-09-25 15:11:48 +02:00
twinaphex 3f35e10014 Solve some warnings pointed out by scan-build 2016-09-25 05:55:55 +02:00
twinaphex 49a9f189e9 Prevent divide by zero 2016-09-24 17:08:46 +02:00
twinaphex 7fdc38bf30 Prevent null pointer dereference 2016-09-22 21:57:55 +02:00
twinaphex e8deea65a9 Remove unused variable 2016-09-22 21:55:54 +02:00
twinaphex f6a5e4d8eb Remove unused variable 2016-09-22 21:52:17 +02:00
twinaphex 7dcf9dfa75 (libusb) Silence warning 'value stored to 'adaptor' is never read 2016-09-22 21:49:59 +02:00
radius 55b865d375 remove this pad, the pad is named Standard Gamepad 2016-09-21 21:41:36 -05:00
twinaphex 6a02cf174e udev_input_poll - add early return in case udev is NULL 2016-09-18 20:32:16 +02:00
Francisco José García García 16257d58ef Add up to 4 players 2016-09-17 14:22:45 +02:00
Francisco José García García 16de70a9d9 Update psp_joypad.c 2016-09-17 14:19:26 +02:00
twinaphex 9ee5931c5e Nits 2016-09-14 23:37:20 +02:00
twinaphex 3247de9afa Cleanup 2016-09-12 18:39:46 +02:00
twinaphex 93d98069b2 Cleanups 2016-09-12 16:45:26 +02:00
twinaphex 29c05599a3 Cleanup enum 2016-09-11 17:37:05 +02:00
twinaphex b93ef046a7 Header include cleanups 2016-09-11 16:31:23 +02:00
twinaphex 51b0e61712 Cleanups 2016-09-11 16:24:02 +02:00
twinaphex 9d9471413d (Emscripten) Buildfix 2016-09-11 15:24:33 +02:00
twinaphex 7ddd03c558 Fix dinput/xinput 2016-09-11 15:08:07 +02:00
twinaphex c97aa5e7ea header include cleanups 2016-09-11 14:59:18 +02:00
twinaphex 012e069f86 Get rid of general.h includes 2016-09-11 13:21:56 +02:00
twinaphex 74c186c184 Cleanups 2016-09-08 08:08:50 +02:00
twinaphex 642e46779b Cleanups 2016-09-06 23:59:43 +02:00
twinaphex 075aea2289 Header include cleanups 2016-09-06 00:56:00 +02:00
twinaphex d4122806ab (Android) Buildfix 2016-09-05 18:34:21 +02:00
twinaphex acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
twinaphex 4571dc33fc header include cleanups 2016-09-05 17:29:19 +02:00
radius f0485db137 Gamepad is named like this in emscripten 2016-09-03 22:21:10 -05:00