Commit Graph

484 Commits

Author SHA1 Message Date
Brad Parker
367dea6723 unicode-ify a couple other windows files, start changing function names to W version explicitly 2016-11-29 20:32:24 -05:00
twinaphex
e9846aae68 (Android) Remove unused variables 2016-11-27 15:02:14 +01:00
twinaphex
95254aa79b Remove 'back as menu toggle' setting 2016-11-21 13:05:23 +01:00
Alcaro
dd9a810451 This warning doesn't need to be here 2016-11-06 12:02:37 +01:00
aliaspider
0433cae3c9 (WIIU) misc. 2016-11-05 15:01:43 +01:00
aliaspider
176dd79f33 (WIIU) misc. 2016-11-02 22:06:15 +01:00
twinaphex
763a925a17 Fix Android build 2016-10-29 04:59:56 +02:00
twinaphex
ce98a4dd19 Get rid of now unused input_driver_key_pressed 2016-10-29 04:57:28 +02:00
radius
6a950526d5 add group for other android atv devices 2016-10-28 20:49:44 -05:00
Twinaphex
7e5ee4f86c Prevent uninitialied variable 2016-10-27 21:47:15 +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
b9909bf5ba Add CONFIG_BIND_ALT 2016-10-27 04:03:24 +02:00
aliaspider
a4d745a471 preliminary port to the wiiu platform 2016-10-27 01:34:10 +01:00
twinaphex
5fc6519328 Prevent more potential crashes 2016-10-27 01:21:01 +02:00
Twinaphex
26547be5ed Try to prevent another crash 2016-10-26 23:05:14 +02:00
Twinaphex
90fbc09f82 Fix remaining crash on OSX 2016-10-26 10:34:24 +02:00
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
5ea2078638 Attempt buildfix 2016-10-24 06:40:09 +02:00
twinaphex
294f54ebf0 Cleanup udev_pointer_state 2016-10-24 02:47:29 +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
a4a1e96210 Prevent more implicit memsets 2016-10-16 01:40:29 +02:00
Twinaphex
183dc914c4 (Cocoa) Add stub scrollWheel callback 2016-10-05 02:00:11 +02: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
twinaphex
3f35e10014 Solve some warnings pointed out by scan-build 2016-09-25 05:55:55 +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
6a02cf174e udev_input_poll - add early return in case udev is NULL 2016-09-18 20:32:16 +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
012e069f86 Get rid of general.h includes 2016-09-11 13:21:56 +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
Brad Parker
a17679a0c5 add input option to allow any user to control the menu 2016-09-03 19:01:29 -04:00
Brad Parker
0eb1777a1f remove extra semicolons 2016-09-03 10:30:21 -04:00
twinaphex
20f7d82f95 More header include cleanups 2016-09-01 18:07:44 +02:00
twinaphex
c8d5381779 header include cleanups 2016-09-01 05:48:20 +02:00
Francisco José García García
e3b5fdd815 (VITA) Add vibration for PSTV 2016-08-30 14:29:19 +02:00
twinaphex
ba7d638b99 Use string_is_equal 2016-08-29 18:46:41 +02:00
twinaphex
81e76ca5e7 (MSVC 2003) Buildfixes 2006-01-17 06:28:35 +01:00
twinaphex
cc1d579036 (Vita) psp_input_state - Don't early return if port is higher than 0 2016-08-07 16:29:58 +02:00
twinaphex
5dc4a730d2 (Xenon 360) Get rid of lifecycle_state 2016-08-02 17:05:58 +02:00
dalter
fffe1d099c Fix imput in RetroArch menu 2016-07-31 17:56:40 +03:00
twinaphex
092ca463d2 Only use extern C for C++ builds 2016-07-16 19:43:07 +02:00
twinaphex
eb77f99e1e (Windows) Finally properly 'swallows' event when doubleclicking on titlebar 2016-07-16 18:09:21 +02:00
twinaphex
ce6f3f955c Doubleclick on titlebar should no longer trigger button press
in RA window
2016-07-16 17:56:07 +02:00
twinaphex
616b9f7471 (Win32) Test 2016-07-16 17:44:21 +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
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
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
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
2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex
a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +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
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
8b4a41155d C89_BUILD buildfixes 2016-03-20 05:24:05 +01:00
twinaphex
6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
Twinaphex
33356f2df6 (OSX) Buildfix 2016-02-26 13:40:29 +01:00
twinaphex
f1a572822b Create RARCH_DISPLAY_CTL_VIEWPORT_INFO 2016-02-14 05:42:27 +01:00
Diablodiab
84b6b505ad Fix crash when defining gamepad keys 2016-02-08 01:53:33 +01:00
Diablodiab
bdb9471d13 Added support for using keyboards in the Retroarch menu and for mapping to gamepad keys. 2016-02-08 01:06:15 +01:00
twinaphex
372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex
fbd2e9aa84 Use string_is_equal more 2016-01-21 02:48:00 +01:00
Twinaphex
794bcc53c3 (iOS) Buildfix 2016-01-15 23:15:49 +01:00
twinaphex
e4533fb7ec (OSX/iOS) Cleanup 2016-01-15 22:33:25 +01:00
Twinaphex
8c8a3085a5 (OSX) Buildfix 2016-01-15 22:22:37 +01:00
twinaphex
8323d06d3d (Cocoa) No more dependencies on get_chosen_screen or
get_backing_scale_factor
2016-01-15 22:20:46 +01:00
Diablodiab
e738b57cf8 Add handling of Nvidia Shield Virtual Controller
The NVIDIA Button on the Nvidia Shield Controller and inputs received from CEC remotes
are detected as a "Virtual" controller on the Shield TV.

If a virtual controller is detected on the Shield TV before an actual game controller
then it will be configured as "Shield Virtual Device". This allows the use of the
buttons on a CEC remote to control the Retroarch menu and games.

When an actual controller is connected the Virtual Device will be overwritten and
the NVIDIA button of the Virtual device will be mapped to the controller as the
menu button.

This also fixes the situation where you press the NVIDIA Button before any other
button on the game controller and it does nothing. Now it will go into the
Retroarch menu even if it is the first button pressed.

A matching profile for "Nvidia Shield Virtual Controller" has been sent as a pull request to
the "retroarch-joypad-autoconfig" repository.
2016-01-15 18:41:17 +01:00
Diablodiab
9245113738 Fix if clause that could result in a keyboard key being handled as gamepad input 2016-01-14 21:16:54 +01:00
Diablodiab
2c08dc0f4f Extends Android keyboard functionality to allow for up to three keyboards.
This solves the problem with volume buttons on phones being detected as
keyboards and blocking a real keyboard from being mapped afterwards.

Renamed id_1 and id_2 to pad_id1 and pad_id2
Renamed id_3 to kbd_id and change it to an array

Implement function is_keyboard_id(int id) which checks if an id is mapped as
a keyboard
2016-01-14 20:59:25 +01:00
Diablodiab
afe8d2d617 Fixed two bugs in Android keyboard functionality and changed the way the keyboard
is registered (introduced an id_3 value)
2016-01-12 21:48:09 +01:00
twinaphex
f374af9dbc Revert "Add keyboard input functionality to Android version"
This reverts commit 17bdb549d4.
2016-01-12 15:52:42 +01:00
Twinaphex
db51b5a2c0 Merge pull request #2636 from diablodiab/android-keyboard-support
Add keyboard input functionality to Android version
2016-01-11 22:26:51 +01:00
Diablodiab
17bdb549d4 Add keyboard input functionality to Android version 2016-01-11 21:06:46 +01:00
twinaphex
347a18cb30 Update input headers 2016-01-10 04:33:01 +01:00
twinaphex
ef7a786527 Attempt to prevent segfault when pressing Enter in DRM/KMS mode 2016-01-02 22:28:21 +01:00
twinaphex
697351ee67 (input) Use string_is_empty 2015-12-26 07:54:17 +01:00
twinaphex
b8bbdc6f4c Revert udev drivers 2015-12-17 03:02:48 +01:00
radius
4b082daa7e fix input labels empty on android 2015-12-12 20:56:42 -05:00
radius
48fbc5eda4 Improve the shield portable workaround and reimplement the workaround for the shield atv,
This workaround could be used as a foundation for other console like devices.
2015-12-11 17:25:03 -05:00
twinaphex
4727ddb52d Create RARCH_INPUT_CTL_KEY_PRESSED 2015-12-10 12:47:36 +01:00
twinaphex
7a791fa6e8 Turn primary_id/secondary_id into static variables 2015-12-09 22:17:55 +01:00
Twinaphex
2bb440bc08 Merge pull request #2535 from fr500/master
new workaround for pads implemented as two independents hid devices
2015-12-09 22:16:43 +01:00
twinaphex
23c13c0043 Delay reinit, gets rid of the remaining concurrency errors 2015-12-09 20:30:55 +01:00
radius
08f42beefb add ARCHOS gamepad 2015-12-09 10:00:32 -05:00
twinaphex
959b781c06 (Android) Implement input_alive 2015-12-08 13:47:46 +01:00
twinaphex
629a660af4 Check if android_app or android variables are NULL in android_input_poll_memcpy 2015-12-08 08:53:26 +01:00