Commit Graph

1998 Commits

Author SHA1 Message Date
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
twinaphex 24bafd7ab9 Create RARCH_INPUT_CTL_GRAB_MOUSE 2016-02-13 07:36:45 +01:00
twinaphex ac31eeb360 Cleanups 2016-02-13 07:29:02 +01:00
twinaphex 3393a32547 Cleanup 2016-02-13 07:27:22 +01:00
twinaphex 954c5a86f6 Add rarch_cmd_ctl 2016-02-13 07:19:21 +01:00
twinaphex 3a6484d0ad Change input_driver_ctl default return values 2016-02-11 01:44:39 +01:00
Twinaphex 259ac2ddbd Merge pull request #2710 from fr500/master
save only modified values when saving remaps
2016-02-10 05:46:17 +01:00
radius 80845f1cd6 save only modified values when saving remaps 2016-02-09 23:39:16 -05:00
twinaphex ce2869b4d8 Create tasks_internal and split up RA-specific task code to outside 2016-02-09 17:12:39 +01:00
twinaphex e86bd1b021 Cleanups 2016-02-09 05:11:40 +01:00
radius 67a68c0595 save libretro device and analog dpad mode with remap files 2016-02-08 16:06:54 -05: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 534a838472 Header cleanups 2016-02-07 13:25:55 +01:00
twinaphex d3aaa7ac88 Style nits 2016-02-05 14:42:20 +01:00
twinaphex 341e8f8f15 Cleanup 2016-02-05 14:35:16 +01:00
twinaphex 8e2818bbeb Cleanups 2016-02-05 14:11:38 +01:00
twinaphex 36c36aa558 Cleanups 2016-02-05 14:09:46 +01:00
twinaphex 8fc2a05a70 Cleanups 2016-02-05 14:06:43 +01:00
twinaphex ab64daf5aa Cleanups 2016-02-05 13:51:30 +01:00
twinaphex ca3f352ed1 Remove unused udev_common 2016-02-05 13:30:19 +01:00
twinaphex 32ee695f9d Create udev_ctl 2016-02-05 01:49:31 +01:00
twinaphex 24f5275001 Use wiiugca for non-Wii too 2016-02-04 23:49:04 +01:00
twinaphex 407d85f604 Use nesusb/snesusb for non-Wii too 2016-02-04 23:43:33 +01:00
netux79 bca4ccb155 (GX) Refactor of the Wii USB HID support. Now it's working!
In order to have a controller working you need:
1) Have a matching HID autoconfig file in autoconfig/hid for your controller.
2) Create a "connect" driver for the pad in "input/connect" folder (source code of RA).
3) Once you are in RA, change the joystick driver to HID and restart.
4) You may be now able to use you USB HID compatible pad in RA.

I included some "connect" drivers as an example. It also need to include them for compilation.
2016-02-04 17:01:03 -05:00
twinaphex 2e8f015de3 Cleanups 2016-02-04 21:07:02 +01:00
twinaphex 3d56dd1ef8 Cleanup 2016-02-04 21:03:28 +01:00
Twinaphex 9c9fdcfa58 (iOS 9) Fix iOS 9 build 2016-02-04 20:17:26 +01:00
twinaphex 12e453c29a Set these static variables initially to NULL 2016-02-04 20:02:50 +01:00
twinaphex 2cbb18b4e4 Create RARCH_DRIVER_CTL_FIND_INDEX 2016-02-01 13:15:53 +01:00
twinaphex b0ec812de6 Create two new BSV_MOVIE_CTL_* actions 2016-01-30 03:25:47 +01:00
twinaphex a267bdfbe3 MOve gfx/image/image.c to gfx/video_texture_image.c 2016-01-30 02:39:08 +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 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