Commit Graph

2084 Commits

Author SHA1 Message Date
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
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
twinaphex
9394294956 (joypad_connection) Stub Wii U Pro implementation - untested 2015-12-12 18:30:17 +01:00
twinaphex
d70d09ad8d (connect_ps4.c) Cleanup 2015-12-12 17:58:40 +01: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
fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
twinaphex
41fc41e170 (input_driver.c) Cleanups 2015-12-10 12:54:56 +01: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
twinaphex
decbffd25b Refine RARCH_INPUT_CTL_DEINIT 2015-12-09 19:43:04 +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
twinaphex
c1312d3b41 Buildfix 2015-12-07 21:21:13 +01:00
twinaphex
84bcf896b6 Set SET/UNSET_FRAME for Android 2015-12-07 21:17:55 +01:00
twinaphex
1e522f4035 (Android) Start calling SET_STUB_FRAME for LOST_FOCUS/GAINED_FOCUS 2015-12-07 21:07:04 +01:00
twinaphex
2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
radius
e28450368f reset the ids when the driver is reinitialized 2015-12-06 23:39:42 -05:00
radius
17aa00db1a change variables 2015-12-06 23:20:47 -05:00
radius
cbd8819fb3 new workaround for pads implemented as two independents hid devices 2015-12-06 22:58:54 -05:00
Higor Eurípedes
b64ecfae92 (android_input) Fix negative port issue 2015-12-06 21:08:27 -03:00
twinaphex
4ef98894a2 Header include cleanups 2015-12-06 21:40:55 +01:00
twinaphex
c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
Higor Eurípedes
ee06d36735 (input_driver) Get rid of dangling pointer 2015-12-06 13:56:20 -03:00
twinaphex
015986fea4 RARCH_INPUT_CTL - Make sure all static local variables are set
back to default state
2015-12-06 17:19:12 +01:00
twinaphex
bfef1c816f Cleanup 2015-12-06 16:32:08 +01:00
twinaphex
39e9d5c5ba Start cutting down on the size of some char local variables - we
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
Higor Eurípedes
1cd0a0ff0a (android_input.c) Fix usage of signed/unsigned
This caused a segmentation failure in android_keyboard_state_get()
2015-12-05 19:23:02 -03:00
twinaphex
3517fdc02a (Android) Buildfix 2015-12-05 21:18:06 +01:00
twinaphex
5ba14b45ce Change some header includes 2015-12-05 20:05:32 +01:00
twinaphex
d61b491d47 Don't include retro_miscellaneous.h as part of driver.h 2015-12-05 18:47:05 +01:00
twinaphex
736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex
cbb3535854 joypad_connection.c - include stdlib.h for calloc 2015-12-05 13:24:15 +01:00
twinaphex
2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +01:00
twinaphex
fd07b5c689 (input_driver.c) Don't destroy input driver data during
RARCH_INPUT_CTL_DESTROY
2015-12-04 15:15:57 +01:00
twinaphex
351077dc78 Start reimplementing audio/video/input driver deiniting 2015-12-04 14:30:59 +01:00
twinaphex
c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +01:00
twinaphex
35da6073df (gx_joypad.c) Declare variables at top 2015-12-04 12:00:00 +01:00
twinaphex
0b9df5a069 (GX) Buildfix 2015-12-04 11:56:10 +01:00
twinaphex
f21a9f2fd2 dinput.c - buildfix 2015-12-04 11:28:13 +01:00
twinaphex
50f3999e9b Backport/rewrites wmarquesr pt. 8 2015-12-04 11:11:05 +01:00
twinaphex
a53334fba6 Backport/rewrites wmarquesr - pt. 4 2015-12-04 10:41:05 +01:00
twinaphex
67518b3c6c Move input_driver_block_hotkey to input_driver_ctl as static
local variable
2015-12-04 08:24:43 +01:00
twinaphex
24285d1167 Move input_driver_block_libretro_input to input_driver_ctl
as static local variable
2015-12-04 08:15:39 +01:00
twinaphex
957d53499b (input_autodetect.c) Turn static variable into local static variable - remote_bound 2015-12-04 02:57:47 +01:00
twinaphex
2582898a28 (input_driver.c) Nit 2015-12-04 02:50:29 +01:00
twinaphex
4eeada75b1 (input_driver.c) Turn some static variables into local static variables 2015-12-04 02:50:05 +01:00
twinaphex
071912871b (android_input.c) Attempt to only grab dlopen handle once 2015-12-03 21:19:16 +01:00
twinaphex
8ae39377e7 (Android) Cleanups 2015-12-03 01:59:43 +01:00
twinaphex
694e64831b Create thread duplicate variant of android_input_data_t variable 2015-12-02 23:23:21 +01:00
twinaphex
923433ead7 Move engine_handle_dpad code to android_input.c - copy
hat and analog state to intermediary on android_app during
poll time
2015-12-02 22:33:27 +01:00
twinaphex
69ee18cea6 Create android_input_data_t 2015-12-02 22:12:43 +01:00
twinaphex
e859fae4ee (Android) Move sensorManager and sensorEventQueue to android_app 2015-12-02 21:38:21 +01:00
twinaphex
b7d7dcef1c Expand android_app 2015-12-02 19:28:15 +01:00
twinaphex
cfe5491b05 (Android) Reimplement how shutdown gets signalled 2015-12-02 17:55:31 +01:00
twinaphex
d6b5dd6ac4 Flesh out android_native_app_glue.c implementation some more 2015-12-02 17:46:20 +01:00
twinaphex
986e4bf40d (Android) Native activity updates 2015-12-02 08:54:24 +01:00
Twinaphex
2c12ea6dd9 Merge pull request #2502 from heuripedes/master
Fixes
2015-12-01 01:48:10 +01:00
twinaphex
f1a0068dc7 Move bsv global state to movie.c 2015-12-01 01:47:26 +01:00
Higor Eurípedes
6ab4f8128f (overlay) Fix huge leak when overlays are not supported 2015-11-30 21:32:32 -03:00
twinaphex
d05ed635c6 Start rewriting bsv movie code so that global->bsv.movie is
only accessed inside movie.c
2015-12-01 01:20:22 +01:00
twinaphex
a6d8d28895 Create more BSV_MOVIE_CTL_* enums 2015-12-01 00:16:48 +01:00
twinaphex
5d9e6bca60 Move bsv movie code to movie.c 2015-12-01 00:04:04 +01:00
twinaphex
22d64ae3dc move driver->remote and driver->command to input_driver.c 2015-11-30 23:06:47 +01:00
twinaphex
0b24618cd5 Move driver->command to input_driver.c 2015-11-30 22:56:41 +01:00
twinaphex
0db7cda264 Start moving rewind code to rewind.c 2015-11-30 22:25:13 +01:00
twinaphex
9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex
4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex
c3b2f84f39 Typo fix 2015-11-30 18:24:35 +01:00
twinaphex
c03e1547b1 (linuxraw_joypad) Cleanups 2015-11-30 18:20:50 +01:00
twinaphex
7cb78cca58 Make g_epoll static 2015-11-30 18:14:07 +01:00
twinaphex
54655c37cd Create epoll_waiting 2015-11-30 18:08:00 +01:00
twinaphex
ecbfc72e9b Create epoll_common 2015-11-30 18:05:10 +01:00
twinaphex
6d90c42bb5 We need to check for the instance where udev is only initialized
for the joypad part and not the general input driver
2015-11-30 16:56:32 +01:00
twinaphex
62260cf892 Turn g_udev static 2015-11-30 16:52:29 +01:00
twinaphex
28602d84af Make g_udev_mon static 2015-11-30 16:47:43 +01:00
twinaphex
b76481b21e Create udev_mon_hotplug_available 2015-11-30 16:42:52 +01:00
twinaphex
2db1197942 Expand udev_common.c 2015-11-30 16:39:22 +01:00
twinaphex
fd91cf130e Create udev_common.c/udev_common.h 2015-11-30 16:31:05 +01:00
twinaphex
41916b123f Optimize check_input_driver_block_hotkey 2015-11-30 08:32:30 +01:00
twinaphex
88d0b94ab2 input_poll - do direct poll call 2015-11-30 08:15:54 +01:00
twinaphex
63bce5fd5a (input_driver.c) Uniquely namespace static variables 2015-11-30 07:36:27 +01:00
twinaphex
21a9bd13a6 (input_overlay.c) Cleanups 2015-11-30 04:47:41 +01:00
twinaphex
fc85cc46d1 Fix CXX_BUILD 2015-11-30 03:32:34 +01:00
twinaphex
871713dd9d Move driver->keyboard_linefeed_enable to input_driver.c 2015-11-30 03:23:35 +01:00
twinaphex
d4e88324ac Move driver->osk_enable to input_driver.c 2015-11-30 03:14:26 +01:00
twinaphex
5b6641b077 (linuxraw_input.c) Remove unused driver reference 2015-11-30 02:50:10 +01:00
twinaphex
805735c958 (input_driver.c) Cleanups 2015-11-29 22:43:12 +01:00
twinaphex
d15ad86705 Create hid_driver_get_data 2015-11-29 21:11:57 +01:00
twinaphex
df9f0fc6d1 Move input_data_own to input_driver.c 2015-11-29 20:34:35 +01:00
twinaphex
d181870caa No more dependency on driver_t for driver->input 2015-11-29 19:18:59 +01:00
twinaphex
7a6f444823 No more references to driver->input from outside 2015-11-29 19:07:02 +01:00
twinaphex
c96312ad04 input_keys_pressed - cleanup 2015-11-29 19:01:10 +01:00
twinaphex
83ba8f0545 (input_driver.c) Cleanups 2015-11-29 18:59:49 +01:00
twinaphex
5e1b2b3bfa Move driver->input_data to input_driver.c 2015-11-29 18:18:25 +01:00
twinaphex
1c867cedf0 Move nonblock_state to input_driver.c (NOTE: we probably need
to relocate this later on)
2015-11-29 17:53:11 +01:00
twinaphex
e8d6e48a74 Remove unused variables 2015-11-29 17:34:31 +01:00
twinaphex
6fd6288337 Move block_libretro_input to input_driver.c 2015-11-29 17:33:29 +01:00
twinaphex
253649b0cf Move flushing_input to input_driver.c 2015-11-29 17:23:30 +01:00
twinaphex
23d63d0b5a Move block_hotkey to input_driver.c 2015-11-29 17:12:38 +01:00
twinaphex
178e52bca5 Move turbo_btns to input_driver.c 2015-11-29 17:10:03 +01:00
twinaphex
9a743ec357 Create input_driver_key_pressed 2015-11-29 16:45:38 +01:00
twinaphex
dc7e8bc52b Cleanup android_joypad_query_pad 2015-11-29 16:35:51 +01:00
twinaphex
53277e3b1c Remove more HAVE_COCOA ifdefs 2015-11-29 16:28:55 +01:00
twinaphex
eaa98dafc0 Fix header 2015-11-29 16:27:11 +01:00
twinaphex
abae213b6b (keyboard_event_apple.c) Remove drivers/cocoa_input.h header include 2015-11-29 16:26:40 +01:00
twinaphex
d018f65e95 Rename cocoa_input_keyboard_event 2015-11-29 16:26:13 +01:00
twinaphex
025d2c6328 (Android) Cleanups 2015-11-29 16:20:04 +01:00
twinaphex
2d455d78b3 Move inptu state to android_joypad.c 2015-11-29 16:18:29 +01:00
twinaphex
f1fe78eb1a (cocoa_input.c) Include header 2015-11-29 15:52:37 +01:00
twinaphex
2deeb36a81 Rename apple_keycode.h 2015-11-29 15:50:27 +01:00
twinaphex
9d3a8c3815 (Apple) Buildfix #2 2015-11-29 15:47:05 +01:00
twinaphex
99cc4c59c3 (Apple) Buildfix 2015-11-29 15:46:01 +01:00
twinaphex
bc748951c6 Start no longer having dependencies on apple input data for
keyboard_event_apple.c
2015-11-29 15:44:21 +01:00
twinaphex
dff44d8d49 (udev) split up keyboard code to separate files 2015-11-29 15:35:34 +01:00
twinaphex
6c7da0e503 (udev) Change function signature of callback 2015-11-29 06:34:35 +01:00
twinaphex
9fd9fd10e8 Create input_x11_common 2015-11-29 03:34:09 +01:00
twinaphex
127448f848 Use video_driver_window_get 2015-11-29 01:39:28 +01:00
twinaphex
0044d853f8 Move display_type / display_window etc all to gfx/video_driver.c -
no more dependencies on driver_t
2015-11-29 01:12:49 +01:00
Twinaphex
3001729545 Revert "Go through input_driver_get_data_ptr whenever we need input data"
This reverts commit 52c9a2ec43.
2015-11-28 18:58:33 +01:00
twinaphex
52c9a2ec43 Go through input_driver_get_data_ptr whenever we need input data
state
2015-11-28 18:51:12 +01:00
twinaphex
7856c4e940 (Android) Cleanups 2015-11-28 18:39:43 +01:00
twinaphex
b06d08a32e Remove some references to driver->input_data 2015-11-28 18:33:59 +01:00
twinaphex
3b903adea1 Don't try to access driver->input_data from outside 2015-11-28 18:26:05 +01:00
twinaphex
be71e654f3 Create input_driver_get_data_ptr 2015-11-28 18:22:05 +01:00
twinaphex
ed71129ee6 Create RARCH_INPUT_CTL_HAS_CAPABILITIES 2015-11-28 17:54:50 +01:00
twinaphex
c23846c5dc Merged input_joypad.c and input_joypad_driver.c 2015-11-28 16:22:49 +01:00
twinaphex
1df5d44bdb Rename input/keyboard_line 2015-11-28 16:13:16 +01:00
twinaphex
68169f9ac3 Rename input_get_bind_string_* functions 2015-11-28 16:06:14 +01:00
twinaphex
a3c34a7813 Cleanups 2015-11-28 02:31:19 +01:00
twinaphex
0bce3a9cec Rename some more input_config functions 2015-11-28 02:26:57 +01:00
twinaphex
a6ccc188a8 Rename input_common.c to input_config.c 2015-11-28 02:22:58 +01:00
twinaphex
70d782b94a Rename functions to fit input_config_ naming convention 2015-11-28 02:13:27 +01:00
twinaphex
28e035ec6b Move functiosn around 2015-11-28 02:09:11 +01:00
twinaphex
f4b61bd164 Make one static function 2015-11-28 02:05:15 +01:00
twinaphex
7ca0d74005 Don't expose struct in header anymore 2015-11-28 00:59:47 +01:00
twinaphex
0b0b3431b0 Go through input bind map wrapper functions 2015-11-28 00:57:57 +01:00
twinaphex
0ca0bd182b Don't expose input_bind_map outside anymore 2015-11-28 00:51:33 +01:00
twinaphex
1f5b121505 Create input_get_bind_map_base 2015-11-28 00:44:34 +01:00
twinaphex
222b9a2113 Fix CXX_BUILD 2015-11-28 00:40:11 +01:00
radius
9312b1fe33 merge with upstream 2015-11-27 18:20:35 -05:00
radius
d8badc2ad8 enable polling the remote gamepads 2015-11-27 18:15:41 -05:00
radius
fe9700ebda add input polling code 2015-11-27 18:08:56 -05:00
radius
ac1695e7fd open different sockets per-user 2015-11-27 18:08:52 -05:00
twinaphex
a8d868f187 (Android) Implement 'focused' callback for androidegl_ctx 2015-11-27 20:38:29 +01:00
twinaphex
a1ecc5eee3 (Android) Some cleanups in engine_handle_cmd 2015-11-27 18:27:30 +01:00
twinaphex
daeb8cacaf Set idle when APP_CMD_LOST_FOCUS 2015-11-27 00:23:47 +01:00
twinaphex
cb98cbc1bf Create RARCH_INPUT_CTL_POLL 2015-11-25 20:39:46 +01:00
twinaphex
df948215af Some C89_BUILD fixes 2015-11-25 19:27:33 +01:00
Twinaphex
5b8661b6b5 Merge pull request #2468 from fr500/master
add a hint so the user can tell between devices with the same name
2015-11-25 19:25:56 +01:00
twinaphex
77e4faf5ea Move code around 2015-11-25 18:53:54 +01:00
twinaphex
9643edfac7 Create RARCH_INPUT_CTL_DESTROY 2015-11-25 18:49:37 +01:00
twinaphex
73ce9c0d23 Add another RARCH_INPUT_CTL_* command 2015-11-25 18:33:18 +01:00
twinaphex
92c0907e80 Create more RARCH_INPUT_CTL_* commands 2015-11-25 18:29:28 +01:00
twinaphex
14b2b8ada7 Start creating input_driver_ctl 2015-11-25 18:21:21 +01:00
radius
3ac80f6864 add a hint so the user can tell between devices with the same name 2015-11-24 22:30:51 -05:00
twinaphex
08ae9df639 Merge input_sensor.c with input_driver.c 2015-11-25 03:29:18 +01:00
twinaphex
c9db73e944 Contain driver->input_data usage pt. 2 2015-11-25 03:25:31 +01:00
twinaphex
d2f771440b Contain driver->input_data usage 2015-11-25 03:15:22 +01:00
Higor Eurípedes
29e9b87319 (tasks) Make task handles honor task->cancelled 2015-11-24 22:18:09 -03:00
Twinaphex
8a5ba85c9a Cleanups 2015-11-24 20:25:31 +01:00
twinaphex
f04f4c89c8 Turn another function static 2015-11-24 02:18:41 +01:00
twinaphex
1639f27f8c Turn check_block_hotkey into static function 2015-11-24 01:54:21 +01:00
twinaphex
909ee01012 Move input_state code to input_common.c 2015-11-24 01:19:48 +01:00
twinaphex
075a4891dc Buildfix/move input code around 2015-11-24 01:18:00 +01:00
twinaphex
60dd3fe8b3 Move input_data related code to input/input_common.c 2015-11-24 00:53:47 +01:00
twinaphex
a3e52a9369 Put M_PI inside retro_miscellaneous.h 2015-11-24 00:05:37 +01:00
Higor Eurípedes
46ec7562c1 (overlay) Fix behavior when overlay_hide_in_menu=true 2015-11-23 17:43:37 -03:00
Higor Eurípedes
6f88ece9ab (overlay) Fix memory leak 2015-11-23 17:43:33 -03:00
Higor Eurípedes
9654fabe77 (overlay) Fix on screen keyboard 2015-11-23 17:42:01 -03:00
Higor Eurípedes
52e3b03546 Remove some uneeded prototypes 2015-11-23 17:42:01 -03:00
Higor Eurípedes
a0d2bb4c7c Reimplement overlay loading with tasks 2015-11-23 17:42:01 -03:00
Alcaro
7b66b65823 Add some error messages if the null drivers are used. 2015-11-23 19:42:46 +01:00
twinaphex
389cf13db5 Don't reference driver->video_data outside of gx/video_driver.c anymore 2015-11-23 18:51:04 +01:00
twinaphex
c7dc83533a Add param to video_driver_get_ptr for grabbing the nonthreaded
data state
2015-11-23 16:06:09 +01:00
twinaphex
60fec26bcf (sdl_input.c) Use video_driver_get_ident 2015-11-23 14:57:24 +01:00
twinaphex
9b41061143 Rename driver->video 2015-11-23 14:14:12 +01:00
twinaphex
ee733fcd0f (input_overlay.c) Go through video_driver_get_ptr 2015-11-23 13:24:20 +01:00
twinaphex
b434689d39 (Win32) Buildfixes 2015-11-23 12:14:53 +01:00
twinaphex
074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex
806c124eae Merge video_viewport.c and video_driver.c 2015-11-21 13:01:23 +01:00
twinaphex
5cea9e5400 Add RARCH_DISPLAY_CTL_IS_FOCUSED 2015-11-20 15:24:24 +01:00
Marco Bonardo
03f0c0339d Poll sliders in joypad dinput driver
Poll sliders position as additional axes in the directinput joypad driver
2015-11-19 02:39:50 +01:00
Twinaphex
e27d533fcd (iOS/Cocoa) Try this - prefer MFi analog value over BTStack one 2015-11-18 05:37:41 +01:00
Twinaphex
d399bc11e2 (MFi) Reimplement analog support 2015-11-18 04:54:08 +01:00
Twinaphex
352a8acdf5 Merge pull request #2424 from Yogarine/master
Fix rwebinput driver
2015-11-18 02:49:51 +01:00
Alwin Garside
e5b0a5858a Fix rwebinput driver
input/drivers/rwebinput_input.c:
 -  rwebinput_key_pressed() was defined twice. Not sure why, but removed the first instance of it.
 -  in rwebinput_input_state() the device was hardcoded to INPUT_DEVICE_TYPE_NONE which would result in it always returning 0
2015-11-18 02:45:41 +01:00
Alwin Garside
83d63fcdd1 Merge remote-tracking branch 'libretro/master' 2015-11-18 02:12:47 +01:00
Twinaphex
bcaa2f9aa7 (BTStack) Another buildfix 2015-11-18 02:12:05 +01:00
twinaphex
80d44ce333 (btstack_hid.c) Buildfixes 2015-11-18 02:11:06 +01:00
twinaphex
5edcb99b35 (btstack_hid.c) Cleanups 2015-11-18 02:06:03 +01:00
twinaphex
37d45643f9 (BTStack) Move btpad_set_inquery_state calls to btstack_hid.c 2015-11-18 01:57:45 +01:00
Alwin Garside
58748da89d Emscripten related fixes.
- audio/audio_dsp_filter.c:  append_plugs() should only be called if HAVE_DYLIB
- emscripten/library_rwebaudio.js: Performance improvements, and fallback support for browsers that don't support the Performance API. (e.g. mobile Safari)
- emscripten/library_rwebinput.js: Improve mouse handling. Still not optimal, but works with browsers that don't support mouse capturing.
- frontend/drivers/platform_emscripten.c: Added global function for easy access to certain RetroArch features from JavaScript.
- gfx/video_driver.h: Disabling HAVE_MENU incorrectly disabled set_texture_enable()
- input/drivers/rwebinput_input.c: Missing header file: "../input_joypad.h".
- Makefile.emscripten: Cleanup and make sure the appropriate functions are exported.
2015-07-17 12:46:08 +02:00
twinaphex
450c665619 Create meta_key_pressed 2015-07-17 03:31:51 +02:00