Commit Graph

1878 Commits

Author SHA1 Message Date
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
63e2d13b8f Create string_is_equal_noncase - try not to use strcasecmp so much 2016-01-20 17:34:19 +01:00
Twinaphex
de513211dc Update input_autodetect.c 2016-01-20 13:28:13 +01:00
twinaphex
454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +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
twinaphex
2caa529347 Change VID/PID again 2016-01-14 09:56:07 +01:00
twinaphex
5dd10f1d45 pad_connection_pad_init - cleanup 2016-01-14 09:53:00 +01:00
twinaphex
144b6aed9e Cleanup 2016-01-14 09:52:20 +01:00
twinaphex
974e8d6ce2 (joypad_connection.c) Cleanups 2016-01-14 09:51:17 +01:00
twinaphex
ec6f70603b Add PID/VID for PS3 pad knockoff 2016-01-14 09:03:04 +01:00
Twinaphex
0fbb6f9bf0 Merge pull request #2642 from diablodiab/android-keyboard
Android keyboard keyboard functionality
2016-01-13 11:21:25 +01:00
twinaphex
8caee50fcd (GX) Add way to handle power callback 2016-01-13 08:27:58 +01:00
Diablodiab
88277b3918 Fixed a typo in Android version comment 2016-01-12 21:52:54 +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
cecfdeb0cf Buildfix 2016-01-08 07:16:25 +01:00
twinaphex
c779a1cf8f Move libretro_input_binds updating to input_poll 2016-01-08 06:39:23 +01:00
Ernesto Ramirez
e53840f6c1 (GX) Fix input issue causing controllers to do not work at all. 2016-01-02 18:37:15 -06:00
twinaphex
ef7a786527 Attempt to prevent segfault when pressing Enter in DRM/KMS mode 2016-01-02 22:28:21 +01:00
twinaphex
08e73ea144 Non_HAVE_MEN codepath fixes - courtesy of Karlton
t # Please enter the commit message for your changes. Lines starting
2016-01-02 02:54:20 +01:00
twinaphex
33028b7603 remove these files 2016-01-02 01:36:11 +01:00
twinaphex
e67491d6a9 remove HAVE_LIBSICKSAXIS 2016-01-02 01:35:34 +01:00
Yoshi Sugawara
890eaafcd7 Fixed reading keyboard input for iOS 9 (use [UIApplication handleKeyUIEvent]). Fixed 8bitdo SNES30/SFC30 button mappings (fixed key mapping for X button) 2015-12-26 19:38:02 -05:00
twinaphex
697351ee67 (input) Use string_is_empty 2015-12-26 07:54:17 +01:00
aliaspider
40ac911a05 build fix. 2015-12-24 21:17:44 +01:00
twinaphex
acb4682781 get rid of unused variable 2015-12-23 04:22:25 +01:00
twinaphex
b8bbdc6f4c Revert udev drivers 2015-12-17 03:02:48 +01:00
twinaphex
e7749c5d42 Create RUNLOOP_CTL_KEY_EVENT_GET 2015-12-13 14:31:17 +01:00
twinaphex
53804e5c24 Fix crash when system info is not yet available 2015-12-13 13:58:19 +01:00
Twinaphex
519275e629 Merge pull request #2558 from fr500/master
fix input labels empty on android
2015-12-13 03:28:41 +01:00
radius
4b082daa7e fix input labels empty on android 2015-12-12 20:56:42 -05:00
Higor Eurípedes
5219116751 (input_overlay) Fix unneeded load and memory leak 2015-12-12 22:23:55 -03:00
twinaphex
d76d857166 Turn into C89-compatible comment 2015-12-13 00:01:44 +01:00
dibas
f66729c012 Calibrate Wii U Pro Controller analogue sticks. 2015-12-12 21:47:45 +01:00
twinaphex
5f296ea402 Fix hatvalues 2015-12-12 20:55:09 +01:00
dibas
0c749a6181 Implemented additional checks for Nintendo controllers. 2015-12-12 20:41:52 +01:00
twinaphex
88d54336c7 (wiiupro) Add stub axis implementation 2015-12-12 20:38:23 +01:00
Twinaphex
d85595ca67 Put Wii-U Pro pad on top of Wii Classic pad in list 2015-12-12 20:06:10 +01:00
twinaphex
8516e3350f Change send_control 2015-12-12 19:33:04 +01:00
twinaphex
e529d76aec Turn buttons into booleans 2015-12-12 19:10:50 +01:00