Twinaphex
d231642856
Merge pull request #3888 from libretro/menu_input
...
Menu input
2016-10-29 04:05:30 +02:00
Twinaphex
92a9f8aec7
Merge pull request #3887 from aliaspider/master
...
(WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
2016-10-29 04:02:54 +02:00
twinaphex
5d90b774da
Fixes remaining input issues courtesy of bparker
2016-10-29 04:00:36 +02:00
aliaspider
e055b7cbc1
(WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
...
from WUT.
2016-10-29 02:56:40 +01:00
radius
6a950526d5
add group for other android atv devices
2016-10-28 20:49:44 -05:00
radius
a900bc41a8
fix l3/r3
2016-10-28 20:05:38 -05:00
radius
cb2e78e46d
add android standard gamepad builtin autoconf
2016-10-28 18:15:24 -05:00
Twinaphex
535215eefa
Merge pull request #3879 from libretro/master
...
Merge
2016-10-28 07:44:10 +02:00
Twinaphex
453155ade3
Merge pull request #3877 from aliaspider/master
...
(WIIU) update.
2016-10-28 01:53:43 +02:00
Twinaphex
7e5ee4f86c
Prevent uninitialied variable
2016-10-27 21:47:15 +02:00
Brad Parker
d1d5584d18
update copyright
2016-10-27 11:47:10 -04:00
aliaspider
185849d5ff
(WIIU) add frontend driver, allocate mem2
2016-10-27 15:33:40 +01:00
twinaphex
1b6e7da2ce
Merge branch 'menu_input'
2016-10-27 10:54:49 +02:00
twinaphex
6310f53587
Prevent some implicit memsets and reduce the size of some
...
char variables
2016-10-27 10:45:53 +02:00
twinaphex
c1b59df7ae
Reduce size of char variables
2016-10-27 09:32:07 +02:00
twinaphex
60d313bf6a
Reduce size of more char variables
2016-10-27 09:21:03 +02:00
twinaphex
b1b2579fde
Start reducing size of some char variables
2016-10-27 09:17:41 +02:00
twinaphex
8d6be4b700
Reduce size of some messages (was PATH_MAX_LENGTH by default,
...
which can default to 4096)
2016-10-27 09:13:36 +02:00
twinaphex
53ad28ffde
Backport this patch
2016-10-27 07:03:37 +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
65685c3a9d
Update input_menu_keys_pressed
2016-10-27 06:55:08 +02:00
twinaphex
2a0dba3009
Move all_users_control_menu code to input/input_driver.c
2016-10-27 06:53:06 +02:00
twinaphex
660f021dbc
Simplify input_menu_keys_pressed
2016-10-27 06:49:18 +02:00
twinaphex
5ac9905540
Simplify code
2016-10-27 06:47:31 +02:00
twinaphex
f778bee856
Add input_menu_keys_pressed to master
2016-10-27 06:38:02 +02:00
twinaphex
8f30b3e706
Update menu_keys_pressed
2016-10-27 06:34:53 +02:00
Twinaphex
2cd82ff2c2
Merge pull request #3870 from libretro/master
...
Merge
2016-10-27 04:49:46 +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
d1c04ad711
Merge pull request #3868 from libretro/master
...
Prevent more potential crashes
2016-10-27 01:24:15 +02:00
twinaphex
5fc6519328
Prevent more potential crashes
2016-10-27 01:21:01 +02:00
twinaphex
a9a2749af9
Add input_menu_keys_pressed
2016-10-27 00:13:29 +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
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
Brad Parker
a17679a0c5
add input option to allow any user to control the menu
2016-09-03 19:01:29 -04:00
Twinaphex
f5a4b402d7
(OSX) Fix some crashes that could occur
2016-09-03 23:27:53 +02:00
Brad Parker
0eb1777a1f
remove extra semicolons
2016-09-03 10:30:21 -04:00
twinaphex
f93047145d
Use SN_TARGET_PSP2 ifdef too
2016-09-03 07:41:56 +02:00
twinaphex
88eea511db
Remove if 0 blocks
2016-09-03 07:40:57 +02:00
twinaphex
429165e966
Combine autoconfig builtin files into one
2016-09-03 07:39:26 +02:00
twinaphex
7ee6b9f466
Add TODO/FIXME note
2016-09-03 07:05:25 +02:00
twinaphex
9df9b79869
Add builtin_sdl2
2016-09-03 07:02:17 +02:00
twinaphex
1d06344567
(Vita) silence warning - RETRO_RUMBLE_DUMMY not handled in switch
2016-09-01 22:28:31 +02:00
twinaphex
8e8ff95139
input_keyboard.c - add stdlib.h
2016-09-01 18:51:22 +02:00
twinaphex
9806dec502
C89_BUILD buildfix
2016-09-01 18:22:29 +02:00
twinaphex
467451fccc
Cleanup more header includes
2016-09-01 18:18:55 +02:00
twinaphex
20f7d82f95
More header include cleanups
2016-09-01 18:07:44 +02:00
twinaphex
6efdfdebd4
(PSP) Rumble code should be only for Vita build
2016-09-01 17:09:54 +02:00
twinaphex
9037473c7e
Header include cleanups
2016-09-01 05:51:08 +02:00
twinaphex
c8d5381779
header include cleanups
2016-09-01 05:48:20 +02:00
twinaphex
19f352371d
Remove more header includes
2016-09-01 05:40:57 +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
radius
90f5a2730a
remove these two duplicated lines
2016-08-27 11:15:58 -05:00
Alcaro
ba6796b98f
Kill some warnings
2016-08-26 18:33:03 +02:00
twinaphex
81e76ca5e7
(MSVC 2003) Buildfixes
2006-01-17 06:28:35 +01:00
twinaphex
b5a636f22b
(Vita) Prevent unused variable
2016-08-10 23:17:47 +02:00
twinaphex
30c847cc10
(PSP/Vita) Cleanup
2016-08-08 17:16:02 +02:00
Francisco José García García
d0f96ed535
(VITA) Small fix
2016-08-08 17:12:52 +02:00
Francisco José García García
8dde35f221
(VITA) Final Fix for controls
2016-08-08 17:10:52 +02:00
Francisco José García García
351b3fe3f6
(VITA) Workaround for PSVita Controls vs PSTV
2016-08-08 12:56:30 +02:00
twinaphex
ef6fb9b855
(Vita) Fix
2016-08-08 01:24:54 +02:00
twinaphex
8d47b30a67
Another cleanup
2016-08-08 01:23:48 +02:00
twinaphex
10e35d4d75
Small cleanup
2016-08-08 01:21:20 +02:00
twinaphex
ecc625dbf1
(Vita) Implement multiplayer hack
2016-08-08 01:19:16 +02:00
twinaphex
80b82606d4
This is the same now
2016-08-07 20:35:40 +02:00
Francisco José García García
ab9b2f5998
(VITA) Add PSTV two players mode
2016-08-07 20:15:43 +02:00
twinaphex
24817aeeac
(Vita) Autoconfigure gamepads
2016-08-07 17:22:34 +02:00
twinaphex
33a1a70aa8
(Vita) Try this
2016-08-07 17:18:55 +02: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
3964dfc2de
(PSP/Vita) Refactors
2016-08-07 14:55:47 +02:00
twinaphex
632cc0ef6c
(Vita) Start setting up Vita for multiplayer
2016-08-07 14:52:41 +02:00
twinaphex
5dc4a730d2
(Xenon 360) Get rid of lifecycle_state
2016-08-02 17:05:58 +02:00
twinaphex
9e2925ea23
Start dehardcoding PSP joypad for only one gamepad - multiple
...
gamepads could maybe be used on PS TV
2016-08-02 17:04:00 +02:00
twinaphex
64d6e0facf
(Vita) Implement proper gamepad menu toggle combo for Vita, and remove
...
old hack
2016-08-02 16:48:54 +02:00
twinaphex
d77dd4f0d3
Add enums for gamepad menu toggle combos
2016-08-02 16:45:50 +02:00
dalter
fffe1d099c
Fix imput in RetroArch menu
2016-07-31 17:56:40 +03:00
Andrés
c5ee5caf8a
fix missing parenthesis
2016-07-28 00:05:57 -05:00
Andrés
6c14477bce
Fix remote server in windows
2016-07-27 23:31:52 -05:00
twinaphex
b9aa9a6b1e
Fix namespace conflicts
2016-07-27 21:28:33 +02:00
Sebastien Ronsse
2a2b18b507
input remote: Add analog device parsing
2016-07-27 20:15:49 +10:00
Sebastien Ronsse
46284b6a93
input remote: Update server-side input processing
2016-07-27 18:39:37 +10:00
twinaphex
58c425ef19
Revert "Refactor settings"
...
This reverts commit afcc9657d2
.
2016-07-25 12:30:41 +02:00
twinaphex
afcc9657d2
Refactor settings
2016-07-25 11:59:38 +02:00
twinaphex
7dfca3208c
We shouldn't flush
2016-07-23 05:52:24 +02:00
twinaphex
e69855880d
Autoconfig message should always appear on top of FPS display
2016-07-19 18:32:54 +02:00
twinaphex
adace9f27b
Make some messages no longer get stuck
2016-07-19 18:25:08 +02:00
radius
bd3f6d6dfb
fix disk next/prev hotkeys
2016-07-17 23:47:44 -05: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
Alcaro
f5881c17ef
Use the same format as in the autoconfigs
2016-06-30 22:06:51 +02:00
Alcaro
10e0411b21
Thanks Coverity, but no, this one cannot be null.
2016-06-30 16:10:58 +02:00
radius
a1cf6f29f4
fix map and remove stray printf
2016-06-29 12:23:26 -05:00
radius
298b753e41
fix button map
2016-06-29 09:58:27 -05:00
twinaphex
b8ac629fbf
Get rid of dereference before null check warning
2016-06-29 12:19:23 +02:00
twinaphex
2a9bf91e0d
Use MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE
2016-06-29 02:40:05 +02:00
twinaphex
fa7eb9d8c8
Create file_path_str FILE_PATH_NUL
2016-06-28 11:10:30 +02:00
Twinaphex
a68a33c559
Remove unused variable
2016-06-27 06:43:47 +02:00
twinaphex
465ac5707c
Add HAVE_NETWORKGAMEPAD
2016-06-27 06:38:47 +02:00
twinaphex
eea287d156
(BTStack HID) Create HAVE_DYNAMIC ifdefs
2016-06-27 01:11:49 +02:00
twinaphex
e0114e08ba
Add type to retro_input_t
2016-06-25 09:05:56 +02:00
twinaphex
3dff698644
Turn retro_input_t into struct
2016-06-25 09:04:00 +02:00
twinaphex
114cc081aa
Avoid warning 'variable may be used uninitialized'
2016-06-20 02:45:07 +02:00
twinaphex
7c904d47c2
Cleanups
2016-06-11 21:51:28 +02:00
twinaphex
cf996f724e
Rename HAVE_NETWORK_GAMEPAD to HAVE_NETWORKGAMEPAD - and
...
don't bake it in for the C89 build
2016-06-07 15:23:07 +02:00
twinaphex
afe67ca254
C89/C90 don't support bitfields on uint8_t - work around this
2016-06-07 14:47:54 +02:00
twinaphex
d44062d841
Make HAVE_HID completely optional
2016-06-07 03:01:33 +02:00
twinaphex
b87bbc7f98
Use retro_common_api.h
2016-06-05 05:31:55 +02:00
twinaphex
5230aeb9d0
Use retro_common_api.h
2016-06-03 06:02:49 +02:00
twinaphex
7ce2ac082a
Use retro_common_api.h
2016-06-03 05:54:21 +02:00
twinaphex
d8b3597455
menu_cbs_deferred_push.c - Fix 'array compared against 0'
2016-06-02 20:51:27 +02:00
twinaphex
280eb95b9a
Prevent logically dead code warning
2016-06-01 05:31:05 +02:00
twinaphex
a98616b45b
Fix explicit NULL dereferenced/dereference before null check warnings
2016-05-26 17:47:21 +02:00
twinaphex
142dd82067
(input_overlay.c) Prevent dereference after null check
2016-05-26 17:35:46 +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
40023833e0
(IOHIDManager) Plug another potential leak
2016-05-25 02:35:13 +02:00
twinaphex
f7ff1c66c4
Don't need to include this header anymore
2016-05-25 00:58:12 +02:00
twinaphex
cd176d0737
Remove input_overlay_init
2016-05-25 00:57:58 +02:00
twinaphex
ae0da06d8f
Make input overlay state a part of struct input_overlay
2016-05-25 00:47:24 +02:00
twinaphex
5a4ada4311
Avoid some warnings by using return value for config_get_int
2016-05-24 23:53:35 +02:00
twinaphex
25eaab0a2b
Start passing input_overlay_t * state around to other functions
2016-05-24 23:15:19 +02:00
twinaphex
bfa6f49ae6
Fix logically dead code warnings
2016-05-24 22:12:51 +02:00
twinaphex
5656959085
Free overlay_ptr
2016-05-24 15:30:18 +02:00
twinaphex
160ac49089
(input_overlay.c) Cleanup
2016-05-24 15:29:12 +02:00
twinaphex
fd7e2cd394
input_overlay_new - Call input_overlay_free from outside
2016-05-24 15:25:46 +02:00
Twinaphex
c1e82d3f1a
(IOHidManager) Fix adapter leak
2016-05-24 14:01:46 +02:00
twinaphex
4e74a990d4
(IOHIDManager) Free some resource leaks
2016-05-24 13:48:02 +02: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
69759f5fd7
Remove logically dead code
2016-05-23 21:55:30 +02:00
twinaphex
faef7b498d
(Coverity) Fix some resource leaks
2016-05-23 21:28:43 +02:00
twinaphex
0a3224180b
(Coverity) Fix uninitialized variables; fix some resource leaks
2016-05-23 21:19:28 +02:00
twinaphex
6c840cdd59
(input_autodetect.c) Use dir_list_new_special
2016-05-21 13:31:41 +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
7e36dcb27f
move video_texture_image to libretro-common and rename it to image_texture.c
2016-05-18 12:58:00 +02:00
twinaphex
5845a9944d
Add more HAVE_THREADS ifdefs
2016-05-11 19:02:43 +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
3dc55d4e72
command.c - cleanups
2016-05-09 21:36:17 +02:00
twinaphex
b3422b33fd
Add parameter to command_new
2016-05-09 21:25:37 +02:00
twinaphex
f15f28ce02
Refactor some command code
2016-05-09 21:23:53 +02:00
twinaphex
2691ab0c7d
Rename command_event enums
2016-05-09 20:51:53 +02:00
twinaphex
523ebed112
Combine command_event.c and command.c
2016-05-09 20:30:47 +02:00
twinaphex
a98ef36d36
Rename event_cmd_ctl to command_event
2016-05-09 20:20:50 +02:00
twinaphex
3c74031c2f
Rename rarch_cmd to command
2016-05-09 20:10:08 +02:00
twinaphex
344d1bf949
move remote.c to input/
2016-05-09 17:37:29 +02:00
twinaphex
685b234350
(remote.c) Rename functions
2016-05-09 07:19:18 +02:00
twinaphex
f8a7154557
Rename rarch_ functions
2016-05-09 07:09:26 +02:00
twinaphex
e07bba66f3
Buildfix
2016-05-08 23:52:05 +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
twinaphex
80a453bad1
De-ioctlify command.c
2016-05-08 00:25:04 +02:00
twinaphex
4ec6cb47ec
Use BIT32_SET
2016-05-06 05:16:15 +02:00
twinaphex
cce9190cb2
More cleanups
2016-05-06 04:51:00 +02:00
twinaphex
72bc5e134a
Cleanup input_config_autoconfigure_joypad
2016-05-06 04:50:02 +02:00
twinaphex
f1098d8f6a
Style nit
2016-05-01 20:50:26 +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
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