aliaspider
560c98f3cb
(menu) add pointer support (active only for rgui for now)
2015-03-28 22:35:18 +01:00
twinaphex
7ac7b15718
(input_autodetect.c) Some fixes
2015-03-28 22:20:05 +01:00
twinaphex
765e9c0361
Return an unsigned value that indicates which values were found
2015-03-27 18:50:40 +01:00
twinaphex
9923e6a021
(input_autodetect.c) Further cleanups
2015-03-27 18:05:43 +01:00
twinaphex
f88e62b3d2
Create input_autoconfigure_joypad_from_conf_internal
2015-03-27 18:02:21 +01:00
twinaphex
782f366131
Cleanup comments
2015-03-27 17:55:00 +01:00
twinaphex
54f2d61809
input_autodetect.c - don't need runloop.h header
2015-03-27 17:53:06 +01:00
twinaphex
3985497552
Small cleanup
2015-03-27 17:48:27 +01:00
twinaphex
948e9a1888
(input_autodetect) Cleanups pt. 5
2015-03-27 17:47:15 +01:00
twinaphex
6917982686
Cleanup input_try_autoconfig_joypad
2015-03-27 17:39:11 +01:00
twinaphex
bf0693fcb0
(input_autodetect.c ) Cleanups pt. 4
2015-03-27 17:34:09 +01:00
twinaphex
c5ece757d8
(input_autodetect.c) Cleanups pt. 3
2015-03-27 17:31:59 +01:00
twinaphex
57a1f6d9a0
Cleanups
2015-03-27 17:27:21 +01:00
twinaphex
14270babe5
(input_autodetect.c) Cleanups pt. 2
2015-03-27 17:10:09 +01:00
twinaphex
28faf469a0
Cleanups
2015-03-27 17:02:55 +01:00
twinaphex
226c6ff41a
Simplify input_autodetect
2015-03-27 16:57:58 +01:00
Radius
2f2a86e97f
add osk enable hotkey
2015-03-25 22:24:12 -05:00
twinaphex
8223969226
(PSP) Buildfix
2015-03-24 10:30:05 +01:00
twinaphex
cda414b27d
(Android) Go through input_driver_key_pressed
2015-03-24 08:53:49 +01:00
twinaphex
91b03d914d
(input_driver.c) Cleanups
2015-03-24 08:35:55 +01:00
twinaphex
30a0e99972
(Input) Implement function pointers 'set_rumble' and 'grab_mouse'
...
always to prevent conditional checks
2015-03-24 07:51:50 +01:00
twinaphex
3b87f5bb69
Fix input_driver_state
2015-03-24 05:59:01 +01:00
twinaphex
d6981c3aad
Cleanups
2015-03-23 07:34:18 +01:00
twinaphex
f5b2b8fdf7
Create input_driver_free
2015-03-23 07:15:41 +01:00
twinaphex
95664b038e
Create input_driver_init
2015-03-23 07:07:28 +01:00
twinaphex
0d164162fc
Create input_driver_grab_mouse
2015-03-23 04:31:11 +01:00
twinaphex
5f8407e16c
Use input_driver_get_capabilities
2015-03-23 04:18:27 +01:00
twinaphex
d9ba52e018
Create input_driver_get_joypad_driver
2015-03-23 03:40:09 +01:00
twinaphex
c274ab94a0
Create input_driver_key_pressed
2015-03-23 03:22:57 +01:00
twinaphex
71e927020c
Create input_driver_poll
2015-03-23 03:17:43 +01:00
twinaphex
db1087ad33
Create input_driver_state
2015-03-23 03:04:05 +01:00
twinaphex
da53a4c683
Create video_driver_overlay_interface
2015-03-22 23:44:58 +01:00
twinaphex
7243c43cda
Create video_driver_focus
2015-03-22 23:40:22 +01:00
twinaphex
e3eb9fe9f0
Create video_driver_viewport_info
2015-03-22 21:28:50 +01:00
twinaphex
13de784dfc
Style nits
2015-03-22 08:14:36 +01:00
twinaphex
842d0aafa5
(input_overlay.c) Cleanups
2015-03-22 04:02:04 +01:00
twinaphex
713c7f6093
Cleanup input_overlay_load_desc_image
2015-03-22 03:56:57 +01:00
twinaphex
cd77bc7f68
Simplify input_overlay_load_desc_image
2015-03-22 03:55:04 +01:00
twinaphex
f3fefa2ceb
(QNX) Build fixes
2015-03-21 22:55:50 +01:00
twinaphex
5a443d229a
global_get_ptr update pt. 2
2015-03-21 05:42:49 +01:00
twinaphex
55ba05a1a3
Updates pt. 6
2015-03-20 22:41:15 +01:00
twinaphex
5ad9f131ce
Updates pt. 5
2015-03-20 22:32:09 +01:00
twinaphex
5d8ce54a9f
Updates pt. 4
2015-03-20 22:22:06 +01:00
twinaphex
e996d5d51f
Updates
2015-03-20 21:22:38 +01:00
twinaphex
b97ea7bc8d
Create input_overlay_load_texture_image
2015-03-20 04:12:17 +01:00
twinaphex
1457e50ae5
(Overlay) input_overlay_load_overlays_iterate - cleanups
2015-03-20 03:30:17 +01:00
twinaphex
2a82d4a3c0
(input_overlay.c) Move some code over to texture loading code
2015-03-20 03:26:48 +01:00
twinaphex
9e432b4251
(Overlay) Remove unused variables
2015-03-20 01:47:11 +01:00
twinaphex
97d73557d8
(Overlay) Create OVERLAY_IMAGE_TRANSFER_DESC_IMAGE_ITERATE
2015-03-19 23:13:25 +01:00
twinaphex
758039c3f5
Simplify input_overlay_load_desc
2015-03-19 23:02:50 +01:00
twinaphex
ada29dcbd6
Simplify input_overlay.c
2015-03-19 22:52:15 +01:00
twinaphex
8d0297dfe1
(input_overlay.c) Take out general.h include
2015-03-19 04:28:40 +01:00
twinaphex
1e9725a302
(Android) Buildfix
2015-03-18 20:26:55 +01:00
twinaphex
5976da19c4
(Win32) buildfix
2015-03-18 20:23:18 +01:00
Twinaphex
0782cb5168
(Apple) Build fixes
2015-03-18 20:15:40 +01:00
twinaphex
3670ef2ac5
Go through driver_get_ptr to grab pointer to driver struct
2015-03-18 19:40:00 +01:00
twinaphex
7378299282
Create rarch_main_get_ptr
2015-03-18 06:47:22 +01:00
Higor Eurípedes
718ca11a43
Remove warnings during clang++ builds
2015-03-16 14:43:56 -03:00
Higor Eurípedes
7d1b2467da
(sdl_input.c) Fix CXX build
2015-03-16 14:01:23 -03:00
twinaphex
80a6673004
Fix some CXX_BUILD errors
2015-03-16 16:57:27 +01:00
twinaphex
84e9f2fa7d
Use retro_inline throughout
2015-03-15 04:52:46 +01:00
twinaphex
00239a30d6
Create wrapper functions for passing a message to the runloop's
...
message queue
2015-03-15 02:47:23 +01:00
twinaphex
cea8f0cbe0
(Overlay) Change input_overlay_load_overlays
2015-03-15 00:16:57 +01:00
twinaphex
c08fff5a0c
(Overlay) input_overlay_load_overlays - split up init part into separate
...
function
2015-03-14 23:47:13 +01:00
twinaphex
03cda5b208
(Overlay) Take for loop out of input_overlay_load_overlay
2015-03-14 06:29:45 +01:00
twinaphex
35a1582be4
(Overlay) input_overlay_load_overlay - refactor
2015-03-14 06:19:16 +01:00
twinaphex
aed8d1887d
(Overlay) Cache config file once and clean it up when no longer needed -
...
config_file_new was taking up at least 11% of rarch_main_iterate_overlay_state's
CPU activity (23.3% in total on OSX) - should now be far more efficient
2015-03-14 05:45:48 +01:00
Andrés
53265b742d
Fix windows build
2015-03-12 22:47:58 -05:00
twinaphex
0b5105433f
(Windows) Add MOUSE_HWHEEL support
2015-03-12 13:35:37 +01:00
twinaphex
e366a6eaa2
(Mouse) Start adding preliminary horizontal mouse wheel up/down
2015-03-12 05:38:37 +01:00
Alcaro
a3759d7ff1
Apparently these are booleans used as int. Fixing.
2015-03-11 15:37:48 +01:00
Alcaro
a60a22424e
Fix indentation - should be spaces, not tabs.
2015-03-11 14:08:51 +01:00
Alcaro
7bd444f1fa
Let's not miss these input notifications if many arrive at once.
2015-03-11 14:06:58 +01:00
twinaphex
6c7e5f642c
(NGC) Buildfix pt. 2
2015-03-11 04:21:32 +01:00
twinaphex
f0e75c9259
(NGC) gx_input_joypad.c - buildfix
2015-03-11 04:20:11 +01:00
Twinaphex
fcd7cc958a
(Apple) Make apple_pointer_state somewhat more robust
2015-03-11 00:43:07 +01:00
Twinaphex
fe747a77d0
(OSX) Add stub scroll wheel
2015-03-11 00:35:51 +01:00
twinaphex
667a461c89
(Windows/Mouse) Wheel works now in normal mode - doesn't work in
...
grabbed mouse state (exclusive foreground mode)
2015-03-10 23:40:54 +01:00
Jean-André Santoni
a26a46d4de
(Apple) Fix mouse movements
2015-03-10 18:44:55 +01:00
twinaphex
2a40cd5939
(keyboard_event) Cleanups
2015-03-09 19:04:10 +01:00
twinaphex
498d43960d
(udev_joypad_hat) Cleanup
2015-03-09 19:01:12 +01:00
twinaphex
894076f52d
(xdk_xinput_input) Cleanup
2015-03-09 19:00:01 +01:00
twinaphex
ec01703098
(Input) Cleanups
2015-03-09 18:58:09 +01:00
twinaphex
509e2e2851
(X11 input) Cleanups
2015-03-09 18:55:26 +01:00
twinaphex
74332fbd14
(GLX) Implement mouse wheel up/down for GLX context driver
2015-03-09 17:44:19 +01:00
twinaphex
0ab0fdf709
(Menu) Implement wheel up/down - will need kivutar to implement this
...
better
2015-03-09 16:36:49 +01:00
twinaphex
b93b9d8b58
(udev) Implement wheel up/wheel down
2015-03-09 16:23:22 +01:00
Twinaphex
3ec863d4a5
(Apple HID) Use CFRUnLoopGetCurrent() instead of CFRunLoopGetMain()
2015-03-07 15:47:23 +01:00
twinaphex
795ef467ac
Move msg_queue and nbio/http to runloop struct
2015-03-07 13:01:41 +01:00
twinaphex
a74cb0574b
Create g_runloop and start moving variables there
2015-03-07 12:36:50 +01:00
Twinaphex
935d6a54b8
(Apple HID) Don't call IOHIDDeviceClose in removal callback function
2015-03-06 21:56:10 +01:00
twinaphex
b89e415018
(Overlay) Simplify some code
2015-02-28 08:00:15 +01:00
twinaphex
f30e82bced
Remove input_overlay_load_overlay_image
2015-02-27 06:53:10 +01:00
twinaphex
fd5e6958fa
(Overlay) Should now properly set up first overlay screen as quickly
...
as possible
2015-02-27 02:26:15 +01:00
twinaphex
ec339c184d
Set ol->resolve_pos to 0 beforehand
2015-02-27 02:22:05 +01:00
twinaphex
d510a502e5
Create ol->resolve_pos
2015-02-27 02:21:17 +01:00
twinaphex
34622f63ed
(Overlay) Back to the drawing board
2015-02-27 01:25:08 +01:00
Googer
03b4ace443
(Android) Fix pad input detection for pre-KitKat.
...
Also update getting system properties to use getprop command instead of
__system_property_get. Use sdk level to determine which gamepad
detection method to use (only use vendorId and productId if at least
KitKat - i.e., SDK version 19+).
2015-02-24 12:20:21 -05:00
twinaphex
cb53153fa1
Update comment in load_overlay_image_done
2015-02-23 22:35:01 +01:00
twinaphex
ef91d9a528
Make function static
2015-02-23 22:11:18 +01:00
twinaphex
a41c159ece
Load first active overlay immediately - much faster
2015-02-23 21:49:08 +01:00
twinaphex
00beda42f2
Add pos_increment to allow us to iterate through steps
2015-02-23 21:14:34 +01:00
twinaphex
89685c5709
Add OVERLAY_IMAGE_TRANSFER_DESC_ITERATE and OVERLAY_IMAGE_TRANSFER_DESC_DONE
2015-02-23 20:57:49 +01:00
twinaphex
d44ebefd49
Move more logic to load_overlays
2015-02-23 19:21:28 +01:00
twinaphex
3af7656d42
Move more to load_overlays
2015-02-23 19:18:51 +01:00
twinaphex
bdd5df32a8
Move more out of input_overlay_load_overlay
2015-02-23 19:06:22 +01:00
twinaphex
fafbadafba
Start moving more logic from input_overlay_load_overlay to input_overlay_load_overlays
2015-02-23 18:53:13 +01:00
twinaphex
c67ab04e2b
(Overlay) Cleanups
2015-02-23 09:28:15 +01:00
twinaphex
a5832f4fb1
(Overlay) Cleanup
2015-02-23 09:26:35 +01:00
twinaphex
a8ccb02b52
(overlays) If image could be found, set loading status to 'BUSY', otherwise,
...
set to 'DONE'
2015-02-23 09:25:05 +01:00
twinaphex
ea3d55582a
Refactor OVERLAY_IMAGE_TRANSFER_NONE
2015-02-23 09:15:33 +01:00
twinaphex
50e731776b
Call config_file_free() at end of input_overlay_load_overlay
2015-02-23 09:13:23 +01:00
twinaphex
d4abbd9c83
(Input overlay) Get rid of cached config file
2015-02-23 09:07:04 +01:00
twinaphex
29b250885c
Refactor #2
2015-02-23 07:34:14 +01:00
twinaphex
784be49f2f
(Overlay) Split up code some more
2015-02-23 07:30:57 +01:00
twinaphex
35bc3a2b3e
Split up code in input_overlay_load_overlays_iterate
2015-02-23 07:26:34 +01:00
twinaphex
a4a451f8d7
Refactor input_overlay_load_overlays_iterate
2015-02-23 06:52:20 +01:00
twinaphex
4a7ce3e460
Simplify input_overlay.c
2015-02-23 06:37:27 +01:00
twinaphex
2390e17fc7
(Overlay) Add some logic
2015-02-23 06:03:53 +01:00
twinaphex
d09574bb1f
Move files around
2015-02-22 04:56:18 +01:00
twinaphex
0595189fab
Create OVERLAY_STATUS_DEFERRED_LOADING_IMAGE
2015-02-21 22:00:12 +01:00
twinaphex
d349b2a37a
Split up input_overlay_load_overlay into two functions
2015-02-21 21:20:21 +01:00
Twinaphex
8bd698d132
(input_overlay.c) Remove unused variable
2015-02-21 10:02:49 +01:00
twinaphex
a36e2d2a30
Cut down on continuous opening/closing of config file - keep it
...
cached
2015-02-21 09:41:29 +01:00
twinaphex
7268eab3e8
Create two more iteration phases for overlays
2015-02-21 09:26:52 +01:00
twinaphex
50baeba22a
Fix race condition issue in threaded video mode when OSK is
...
brought up/down
2015-02-21 08:42:19 +01:00
twinaphex
61bbb2a3fb
Start making overlay loading 'deferred'
2015-02-21 07:29:13 +01:00
twinaphex
6b77b263f7
Split up input_overlay_new
2015-02-21 06:47:04 +01:00
Higor Eurípedes
f8e4fa25bb
(griffin) Fix udev drivers build
2015-02-20 23:35:39 -03:00
twinaphex
87edea6bd9
(MSVC) Build fixes
2015-02-16 16:51:23 +01:00
twinaphex
04da700a91
(input_overlay.c) Cleanups
2015-02-15 07:01:32 +01:00
twinaphex
8ace562670
Prevent segfault in overlay function
2015-02-15 06:57:02 +01:00
Twinaphex
86236a9007
Refactor apple_joypad_hid.c somewhat
2015-02-15 04:07:22 +01:00
twinaphex
cf4b43f3fa
(joypad_connection) Cleanups
2015-02-15 03:59:57 +01:00
twinaphex
65f6d2253d
(joypad_connection.c ) change 'used' to 'connected'
2015-02-15 03:54:38 +01:00
twinaphex
738d70d2f8
Add get_buttons callback
2015-02-15 01:57:29 +01:00
twinaphex
207181135c
Create input_driver_keys_pressed
2015-02-15 01:19:06 +01:00
twinaphex
31a54223e5
Get rid of useless wrapper function around button presses
2015-02-15 00:42:40 +01:00
twinaphex
64446ef497
Rename and move rarch_viewport
2015-02-14 05:52:05 +01:00
twinaphex
3b2e11c446
(udev_joypad.c) Cleanup
2015-02-11 06:44:16 +01:00
twinaphex
8fca12257a
(Apple) Input cleanups
2015-02-11 02:16:33 +01:00
twinaphex
b7d845df77
input_joypad_pressed - cleanup
2015-02-10 18:26:56 +01:00
twinaphex
7dd338f19d
Cleanups in input_joypad_driver.c
2015-01-30 07:57:15 +01:00
twinaphex
0cc50ed4ea
(input_driver.c) Cleanups in config_get_input_driver_options
2015-01-30 07:45:14 +01:00
Twinaphex
fc21fdbca6
(Apple) Build fixes
2015-01-30 00:02:16 +01:00
twinaphex
0912f05d39
Fix bug
2015-01-29 23:59:46 +01:00
twinaphex
bae3650d44
input_keyboard_line_toggle_osk - early return if OSK is not
...
enabled
2015-01-29 23:35:06 +01:00
twinaphex
10fd97c5d0
(Windows) Build fixes
2015-01-29 23:30:09 +01:00
Twinaphex
9c49f71e18
(Apple) Build fixes
2015-01-29 23:13:11 +01:00
twinaphex
ed7da3f632
Get rid of last param to keyboard_input_event
2015-01-29 23:12:42 +01:00
twinaphex
d327863d0f
Only carry one input overlay state
2015-01-29 22:54:42 +01:00
twinaphex
28f6922520
Cleanups
2015-01-29 20:51:07 +01:00
twinaphex
d513c01775
Get rid of debug comment
2015-01-29 20:36:06 +01:00
twinaphex
fc373630ce
Start to approach OSK driver in a different way
2015-01-29 20:33:27 +01:00
twinaphex
f258950bcf
Keyboard input overlays can now be used as input device
...
for keyboard line events
2015-01-29 07:03:20 +01:00
twinaphex
8e95e87b2f
Revert "Part 1 of menu input remapping"
...
This reverts commit 5b2d950034
.
2015-01-25 04:52:26 +01:00
twinaphex
85441f34a7
Revert "Part 2 of menu input remapping"
...
This reverts commit 19d090d3ae
.
2015-01-25 04:52:16 +01:00
twinaphex
19d090d3ae
Part 2 of menu input remapping
2015-01-25 03:32:03 +01:00
twinaphex
5b2d950034
Part 1 of menu input remapping
2015-01-25 02:14:04 +01:00
twinaphex
724e748254
Implement action_start callback for remap_file_load
2015-01-24 23:49:35 +01:00
twinaphex
5419757c40
Add input remapping saving/loading
2015-01-24 23:42:31 +01:00
Higor Eurípedes
c756a643dd
linuxraw_joypad.c - Fix button polling
2015-01-20 21:15:43 -03:00
Higor Eurípedes
c3c734c159
linuxraw_joypad.c - Use C89 comments
2015-01-20 21:15:43 -03:00
Twinaphex
77a7b39e88
(OSX) Cleanups
2015-01-19 21:11:08 +01:00
twinaphex
40002970d3
Cleanup in input_remapping_save_file
2015-01-19 18:35:22 +01:00
twinaphex
e1faebe5c2
(input_remapping) Get rid of some header includes
2015-01-19 18:17:34 +01:00
twinaphex
068943445f
(Input) Add input remapping files
2015-01-19 18:16:34 +01:00
Twinaphex
da24b62de9
(Apple) Build fixes
2015-01-19 05:05:41 +01:00
twinaphex
824f00be15
(input/connect) Cleanups
2015-01-19 05:01:31 +01:00
twinaphex
94ca700059
(input_common.c) Fix potential uninitialized variable in input_push_analog_dpad
2015-01-19 04:33:26 +01:00
twinaphex
3ec9005c5c
Move set_rumble function to input/input_driver.c
2015-01-19 04:16:43 +01:00
twinaphex
20d844d15a
Refactor input_push_analog_dpad
2015-01-18 20:36:52 +01:00
twinaphex
61f28bc000
Refactor input_keyboard_event
2015-01-18 19:39:58 +01:00
twinaphex
be3ac6eccd
Split up sensor code into its own file
2015-01-18 19:28:51 +01:00
Twinaphex
a5b306406c
More documentation
2015-01-18 09:25:48 +01:00
twinaphex
46402deb04
Use PATH_MAX_LENGTH instead of PATH_MAX.
...
Refactor OSX settings menu code somewhat
2015-01-17 05:47:52 +01:00
twinaphex
26ab324727
(OSX 10.6) Fix declaration shadows global variable warnings
2015-01-15 21:10:36 +01:00
twinaphex
a2b05d31b1
(input) Cleanups
2015-01-14 23:15:24 +01:00
twinaphex
6cdaa4e282
(MSVC) Build fixes
2015-01-12 22:47:12 +01:00
twinaphex
069fb556f0
Rename graphics context drivers
2015-01-12 22:19:31 +01:00
twinaphex
73a1f5afbb
Rename input/overlay.c to input/input_overlay.c
2015-01-12 21:59:32 +01:00
twinaphex
0b2d518531
Rename video_context.c to video_context_driver.c
2015-01-12 21:53:04 +01:00
twinaphex
ca67f9c317
Rename frontend/platform/ to frontend/drivers/
2015-01-12 21:47:01 +01:00
twinaphex
4e5314b6bb
Rename input_context.c to input_joypad_driver.c
2015-01-12 20:29:01 +01:00
twinaphex
63281f8ca1
Move some code from driver.c to input_context.c
2015-01-12 20:25:07 +01:00
twinaphex
33cdd16c22
Move input/osk to osk/
2015-01-12 19:02:30 +01:00
twinaphex
bd0f0c3f63
Rename gfx_context.c to video_context.c
2015-01-12 18:47:39 +01:00
twinaphex
487c5f58de
Move input_driver.c to input/
2015-01-12 18:39:27 +01:00
twinaphex
a3dc6203b2
Rename option_k local variables
2015-01-12 17:16:14 +01:00
twinaphex
b9ab7a545d
Move psp and gx drivers to gfx/drivers
2015-01-12 06:55:31 +01:00
twinaphex
98f35db95c
(PSP) Build fixes and rename sdk_defines.h
2015-01-12 06:51:57 +01:00
twinaphex
2d66cdc3e7
Move joypad drivers to input/drivers_joypad
2015-01-12 06:28:39 +01:00
Twinaphex
8146514064
(Apple) Build fixes
2015-01-12 06:20:19 +01:00
twinaphex
dd7d37d49b
Add input/drivers/apple_keycode.h
2015-01-12 06:18:22 +01:00
twinaphex
76ad6cc344
Move input drivers to input/drivers
2015-01-12 06:16:52 +01:00
twinaphex
5f611f7270
More documentation for input_common.c
2015-01-12 04:19:57 +01:00
twinaphex
b86022ed15
input/keyboard_line.c - Document
2015-01-12 03:13:03 +01:00
twinaphex
b61ae369f7
(input_keymaps.c) Namespace changes and documentation
2015-01-12 02:52:52 +01:00
twinaphex
10c042f1dc
Some simplifications in Windows input drivers
2015-01-11 01:29:19 +01:00
twinaphex
89902c3339
Remove unneeded header include in input_common.h
2015-01-11 00:10:32 +01:00
twinaphex
d7f36af446
Move stuff around
2015-01-11 00:07:59 +01:00
twinaphex
75b6ed9545
Some more documentation for input_common.c
2015-01-10 21:17:34 +01:00
twinaphex
e707c401c8
More documentation for input/input_joypad.c
2015-01-10 20:48:26 +01:00
twinaphex
34bf60cf51
Start documenting input_joypad.c
2015-01-10 20:34:37 +01:00
twinaphex
293319c890
Less header includes in input_joypad.h
2015-01-10 20:11:57 +01:00
twinaphex
b4b81bd740
Split up input_common.c into two files - input_joypad.c and
...
input_common.c
2015-01-10 20:10:45 +01:00
twinaphex
c6b6a06859
(udev_joypad.c) Declare variables at top
2015-01-10 19:55:47 +01:00
twinaphex
2743638b4e
(udev_input.c) Some simplifications
2015-01-10 01:34:16 +01:00
twinaphex
77e9a97d13
(udev) Declare variables at top of function, C-style comments
2015-01-10 01:32:09 +01:00
twinaphex
326f940082
Cleanup overlay_new comment
2015-01-10 01:03:05 +01:00
twinaphex
9778801335
Start documenting overlay.c
2015-01-10 00:59:05 +01:00
twinaphex
5bac1cdb18
(input/overlay.c) Declare variables at top of function
2015-01-10 00:21:27 +01:00
twinaphex
575678dbb1
Remove unused back_button_enums for Android
2015-01-10 00:09:10 +01:00
twinaphex
a8260a450f
inut_autodetect.c - declare variables at top of function
2015-01-10 00:06:49 +01:00
twinaphex
05cef19e98
Document input_context.c
2015-01-10 00:03:04 +01:00
twinaphex
045a27bdcd
(input_common.c) Move declaration of variables to top of function
2015-01-09 23:55:29 +01:00
twinaphex
99c9afa5cd
Update PATH_MAX to PATH_MAX_LENGTH
2015-01-09 18:04:29 +01:00
twinaphex
8fc4db23dc
(360) Silence some warnings
2015-01-09 17:48:20 +01:00
twinaphex
25536735a8
Build in autoconfig now conditionally if only HAVE_BUILTIN_AUTOCONFIG
...
is defined
2015-01-09 01:10:51 +01:00
twinaphex
957435cbfa
Cleanups
2015-01-09 01:08:54 +01:00
twinaphex
90076c5fad
Start using MAX_PATH_LENGTH - relying on MAX_PATH for 360 can cause
...
problems because it's defined at '260' and thus too small for some
strings
2015-01-07 20:42:36 +01:00
twinaphex
ecf499c588
Update headers
2015-01-07 18:24:13 +01:00
twinaphex
453321c50b
Start updating headers
2015-01-07 17:46:50 +01:00
twinaphex
f39157e39a
Change mentions of 'Player' to ' User'
2015-01-05 02:03:17 +01:00
twinaphex
7a456c6c3a
Rename MAX_PLAYERS to MAX_USERS
2015-01-05 01:58:00 +01:00
twinaphex
24ebb87844
(Android) Add Android 2.3 fallback for engine_lookup_name (turned
...
this function into a function pointer)
2015-01-03 22:29:37 +01:00
twinaphex
494be5ee07
Move more overlay struct definitions to overlay header
2014-12-29 10:44:35 +01:00
twinaphex
49ad98e543
Add input_overlay_enable option
2014-12-29 10:16:44 +01:00
twinaphex
82f6c57966
Add new option 'Show Autoconfig Descriptor Labels' for more
...
comprehensible button labels per joypad - needs to be added per
autoconfig file
2014-12-16 06:21:18 +01:00
twinaphex
63fe97c0a5
Cleanup some useless casts pt. 2
2014-12-15 17:13:08 +01:00
CautiousAlbino
cead63c83d
Fix nasty breakage when joypad index >= MAX_PLAYERS.
...
No bounds checking and joypad index is apparently now unsigned so old
"disabled" values in config will now overflow instead ...
2014-12-15 14:10:07 +01:00
twinaphex
738d180816
Change some more instances of 'player' to 'user'
2014-12-05 14:21:04 +01:00
twinaphex
57918c0c24
Fix more 'player' variables to 'user'
2014-12-05 13:53:49 +01:00
Alcaro
0e26f0ea2d
(SDL) Fix some creepy misuse of temporaries.
2014-11-29 22:11:40 +01:00
twinaphex
c6cc3b8d90
CXX_BUILD - Fix some undefined reference linker errors
2014-11-29 21:18:45 +01:00
twinaphex
9ed2ba8412
[PATCH] Fix some C++ build issues.
2014-11-29 21:07:12 +01:00
twinaphex
bb48597723
CXX_BUILD: buildfix #1
2014-11-29 21:01:21 +01:00
twinaphex
85ac84cb08
Implement joypad driver settings options too
2014-11-26 21:56:53 +01:00
twinaphex
3d15c0f892
Add wrapper functions for WPAD_StickX/WPAD_StickY
2014-11-19 02:51:34 +01:00
Alcaro
88b21b87e7
Remove pointless include. Not only does the file not use this header, it breaks the build if HAVE_UDEV is false.
2014-11-09 23:55:37 +01:00
Toad King
003ee30f93
fix JNI signatures for getVendorId/getProductId
2014-10-31 20:44:14 -05:00
twinaphex
659ec610ed
(udev_input.c) Remove dependency on keyboard_line.h
2014-10-27 19:39:23 +01:00
twinaphex
fb77db4592
Split up keyboard handling code for xkbcommon to separate file
2014-10-27 19:25:59 +01:00
twinaphex
97240bc7c1
(udev) Refactor mod_map again
2014-10-27 19:00:03 +01:00
twinaphex
37c5fb3765
(udev) Refactor mod_map struct
2014-10-27 18:47:45 +01:00
twinaphex
5f2a3e5bf7
(Joyconfig) Create retroarch-joyconfig-griffin.c - should be a lot
...
easier to maintain now instead of having to do constant Makefile
maintenance
2014-10-27 15:45:18 +01:00
twinaphex
a43d4e74f6
(Apple) Move handle_icade_event to keyboard_event_apple.c too
2014-10-27 15:02:10 +01:00
Twinaphex
82520809d9
(Apple) Split up keyboard event code into its own file
2014-10-27 14:58:51 +01:00
twinaphex
ebe1b21f47
(input/keyboard_event_x11.c) Change C++ comments into C comments
2014-10-27 14:49:15 +01:00
twinaphex
bab9ee307d
Add null joypad driver
2014-10-27 14:45:28 +01:00
twinaphex
9214469470
Rename to gfx/context/win32_common.c to input/keyboard_event_win32.c
2014-10-27 06:17:07 +01:00
twinaphex
e3d3316502
Move keyboard event X11 code to separate file
2014-10-27 06:05:52 +01:00
twinaphex
f06ff82000
(Emscripten) Add input_keymaps.h header include for rwebinput_input.c
2014-10-27 04:55:48 +01:00
twinaphex
dd53241a24
Some more cleanups in input_common.c
2014-10-27 04:39:15 +01:00
twinaphex
c6ac686e51
Split up input_common.c into input_common.c and input_keymaps.c
2014-10-27 04:27:48 +01:00
twinaphex
440f08ac28
(Windows Mingw) Make some dependencies optional by default
2014-10-26 21:17:11 +01:00
Lioncash
b1f95f85ba
overlay: Fix potential memory leak.
2014-10-26 13:36:48 -04:00
twinaphex
288c6941de
(SDK) Add libretro-sdk/include/clamping.h
2014-10-26 02:18:56 +01:00
twinaphex
0c4de816f9
Dont' have input_common.h include input_autodetect.h
2014-10-26 01:53:13 +02:00
twinaphex
dc0688f57f
Reduce header dependencies
2014-10-26 01:15:41 +02:00
Twinaphex
b437565059
Prevent redefinition of struct
2014-10-26 01:09:52 +02:00
Twinaphex
182180c6b9
(Apple input) Change mouse_delta[0]/mouse_delta[1] to mouse_x/mouse_y
2014-10-26 00:37:20 +02:00
twinaphex
a4065ae34d
Split off input_context code into separate file
2014-10-25 19:56:40 +02:00
twinaphex
20f1faa03f
(input_common.c) small cleanup
2014-10-25 10:07:04 +02:00
twinaphex
8349ade076
Refactor input_joypad_pressed somewhat
2014-10-25 10:06:40 +02:00
twinaphex
f08f78e86a
(joypad_connection) start calling 'connect' function 'init'
...
and 'disconnect' 'deinit'
2014-10-22 07:59:52 +02:00
twinaphex
2997af48fa
Move config-file code to SDK
2014-10-22 03:35:04 +02:00
twinaphex
3ec3004142
(XDK1) Build fixes
2014-10-22 02:05:01 +02:00
twinaphex
174d011bed
Move dir_list to SDK
2014-10-22 01:13:05 +02:00
twinaphex
9a9fa6532a
Move file_path.c to libretro SDK
2014-10-22 00:23:06 +02:00
twinaphex
d3629f06f1
Rename file.c/file.h to content.c/content.h
2014-10-21 23:44:03 +02:00
twinaphex
94c3f6a925
Change 'id' variable names to 'ident'
2014-10-21 08:48:58 +02:00
twinaphex
7472922ee0
Move compat/ over to libretro SDK
2014-10-21 07:58:58 +02:00
twinaphex
e33c6ef6b2
(360) Build fixes
2014-10-21 05:44:09 +02:00
twinaphex
c62d52de0f
Start properly implementing libretro SDK for boolean.h include
...
header, glsym, and rthreads
2014-10-21 05:05:52 +02:00
twinaphex
00115d1ebb
Backport Lioncash's changes - https://github.com/libretro/RetroArch/pull/1170
2014-10-21 02:28:10 +02:00
Twinaphex
79ff736e4c
(overlay.c) Get rid of shadowed declaration warning
2014-10-20 23:11:28 +02:00
Twinaphex
c6a94593cf
(Apple) Build fixes
2014-10-20 21:52:33 +02:00
twinaphex
42bb37816e
Take file_path.h include out of file.h
2014-10-20 21:51:04 +02:00
twinaphex
0fb301fa43
(joypad/connect) Change 'index' local variables
2014-10-20 20:32:41 +02:00
twinaphex
faeca01e7a
Change local index variables
2014-10-20 20:31:00 +02:00
twinaphex
dd79cf0b93
(OSX) Change 'index' to 'idx' to avoid declaration of index shadows a global
...
declaration on OSX 10.6
2014-10-20 03:56:31 +02:00
Mike Robinson
37550aef02
Non-blocking parport open to handle previous unclean shutdowns
2014-10-18 19:11:11 +01:00
twinaphex
e72777aada
(GX) Make gx_input_get_joypad_driver slightly more robust
2014-10-18 08:01:19 +02:00
Toad King
410539445a
fix inputs getting lost on game load on GX
2014-10-18 00:55:13 -05:00
Twinaphex
6f951a9ac1
(Apple) Rewrite apple_input_keyboard_event - already transform the
...
modifier events before calling the function
2014-10-18 06:33:11 +02:00
Mike Robinson
00f6a17804
Fixed version of 72ca37f9d6
2014-10-17 06:41:43 +01:00
twinaphex
72ca37f9d6
Revert "Update parport_joypad.c driver - mrob - confirm if things still"
...
This reverts commit 04b6287d77
.
2014-10-17 05:58:28 +02:00
twinaphex
04b6287d77
Update parport_joypad.c driver - mrob - confirm if things still
...
work as expected - if not, update and send PR - button variables
need to be no longer a bool array variable
2014-10-17 05:57:10 +02:00
twinaphex
303aaede17
Update to connect_ps3.c
2014-10-16 22:37:06 +02:00
twinaphex
85c4c15c84
(Linuxraw joypad) Update linuxraw joypad driver
2014-10-16 22:30:51 +02:00
twinaphex
3fff1abb83
Refactor buttons variable in udev joypad driver
2014-10-16 22:25:09 +02:00
twinaphex
b61b6fa84b
Move Retrolaunch to separate repo
2014-10-16 07:34:59 +02:00
twinaphex
7c842f9342
More stdio.h header include removals
2014-10-16 07:29:42 +02:00
Twinaphex
c9bd4ad589
Comment out unused code
2014-10-15 03:25:36 +02:00
Twinaphex
3eee271e2c
Merge pull request #1154 from heuripedes/udev-joypad-ids
...
(udev) Detect joypad vendor and product id
2014-10-15 01:24:27 +02:00
Higor Eurípedes
c9917ce6fe
(udev) Detect joypad vendor and product id
2014-10-14 20:18:50 -03:00
twinaphex
682259eec5
(linuxraw_input.c) Check for null pointer dereferences
2014-10-15 00:30:23 +02:00
Twinaphex
d82929f031
Silence warnings in overlay.c
2014-10-14 22:52:13 +02:00
Twinaphex
705c542911
(input/overlay.c) input_overlay_resolve_targets - do explicit cast
2014-10-14 22:41:35 +02:00
Twinaphex
800bf13846
(joypad_connection.h) Fix 'no previous prototype for function' warning
2014-10-14 19:01:52 +02:00
Twinaphex
fe8f22b688
input_common.c - Get rid of variable shadowing warnings
2014-10-14 18:35:38 +02:00
Twinaphex
27c14755a0
input_autodetect.c - Fix 'declaration shadows a global variable' warning
2014-10-14 18:31:30 +02:00
Lioncash
316870201f
Fix possible memory leaks in hidpad_ps3_connect, hidpad_ps4_connect, and hidpad_wii_connect
2014-10-13 17:39:14 -04:00
twinaphex
39dc99889f
Revert "(GX) Experiment to see if menu triggering can still work through this"
...
This reverts commit b490e22080
.
2014-10-13 06:09:29 +02:00
twinaphex
b490e22080
(GX) Experiment to see if menu triggering can still work through this
...
new mechanism
2014-10-13 05:16:59 +02:00
Toad King
264cfb553c
fix case sensitivity in controller matching on GX
2014-10-12 18:07:45 -05:00
Mike Robinson
68dc27eea5
Initialize parport pin report buffer
2014-10-10 00:12:44 +01:00
AndresSM
7249ebc00c
fix disk_next, add option for disk_prev
2014-10-07 20:19:12 -05:00
Twinaphex
945376ab2d
(iOS) Add more safeguards in apple_touch_event and apple_input_keyboard
...
event
2014-10-07 04:15:18 +02:00
twinaphex
88dbe4ee63
(Apple) Put safeguards around input_state/button_pressed functions
2014-10-07 04:12:41 +02:00
Twinaphex
dbbfa700cb
(Apple) Take out ownership of apple_input driver
2014-10-06 03:35:56 +02:00
Twinaphex
f894f7ad0d
(Apple) Get rid of apple_input_get_icade_buttons
2014-10-06 02:06:10 +02:00
Twinaphex
7f0700bc5b
(Apple) Use BIT32_ * macros throughout apple_input.c to prevent typos
2014-10-06 01:57:59 +02:00
Twinaphex
fdd616abcb
(joypad_connection.c) Refactor pt. 2
2014-10-06 01:49:00 +02:00
Twinaphex
29f640fe5d
(joypad_connection.c) refactor pt. 1
2014-10-06 00:37:11 +02:00
Twinaphex
317c098897
Take out input_init_keyboard from apple_input_find_any_key (to be
...
slated for removal later entirely)
2014-10-06 00:25:33 +02:00
Twinaphex
a25a1fc66a
(Apple HID) Cleanup
2014-10-05 20:55:59 +02:00
Twinaphex
288847fa49
Make apple_input_get_icade_buttons into static function
2014-10-05 20:45:38 +02:00
Twinaphex
242686133a
(Apple) Rename keys variable to key_state
2014-10-05 20:42:17 +02:00
Twinaphex
bf7e058068
(apple_input.c) Refactor away apple_key_pressed
2014-10-05 20:40:34 +02:00
twinaphex
9a3e5073e6
(PS3) Make ps3_input_get_joypad_driver more robust
2014-10-05 18:30:23 +02:00
twinaphex
6862c70328
(PS3) Build fix + implement rumble function callback in ps3 joypad driver
2014-10-05 18:29:22 +02:00
twinaphex
06f84b6f25
(Apple HID) Cleanups
2014-10-05 18:25:32 +02:00
twinaphex
b7f18050f2
(PSP/XDK) No dependencies on upper-layer input driver pointer struct
...
in joypad drivers
2014-10-05 18:21:17 +02:00
twinaphex
5ffba915c4
(PS3_ ps3_input_joypad.c - more cleanups
2014-10-05 18:19:36 +02:00
twinaphex
e5877e887b
(PS3) Cleanup ps3_mouse_device_state
2014-10-05 18:14:40 +02:00
twinaphex
f6d04ff01e
(Android) Input driver cleanups
2014-10-05 18:08:22 +02:00
twinaphex
cc4068d936
(GX) Move joypad code over to gx_input_joypad.c - TODO: try to
...
separate libsickaxis code from gx_input_joypad.c driver
2014-10-05 18:00:43 +02:00
twinaphex
2742849d6c
(XDK) Move joypad code over to xdk_xinput_input_joypad.c
2014-10-05 17:39:54 +02:00
twinaphex
8af1734043
(PSP) Move joypad code over to psp_input_joypad.c
2014-10-05 17:28:57 +02:00
twinaphex
544f1ba41e
Move most joystick code over to ps3_input_joypad.c
2014-10-05 17:19:25 +02:00
twinaphex
5fa4723a22
Comment out ununused inline functions for now
2014-10-05 17:02:30 +02:00
twinaphex
3c170fe079
android_input_joypad.c - cleanups
2014-10-05 16:51:58 +02:00
twinaphex
1d7dea392d
Use BIT_CLEAR/BIT_SET for android_input.c
2014-10-05 16:05:16 +02:00
twinaphex
ea0d572ef1
Create new macros BIT_SET/BIT_CLEAR/BIT_GET based on input_common.h helpers
2014-10-05 15:58:06 +02:00
twinaphex
21d9185e96
(connect_ps3.c) Optimize
2014-10-05 03:48:55 +02:00
twinaphex
3a0327f67c
(iOS) Update apple_joypad_ios.c same way
2014-10-05 03:33:26 +02:00
Twinaphex
aa5ae7fe85
(iOS) Build fix
2014-10-05 03:31:58 +02:00
Twinaphex
df0fbb7cf3
(OSX) More optimal polling of buttons/axis from pad_connection
2014-10-05 03:28:43 +02:00
Twinaphex
d1e26a6911
apple_joypad_hid - cleanup apple_joypad_button somewhat
2014-10-05 03:12:32 +02:00
twinaphex
2df2346301
Move input_keys_pressed from input_common.c to runloop.c
2014-10-05 02:45:38 +02:00
Twinaphex
a8ef8ff7e4
Merge pull request #1091 from mprobinson/joypad-driver
...
Joypad driver
2014-10-04 23:42:43 +02:00
Mike Robinson
02185efe10
Add support for bind autoconfiguration
2014-10-04 22:27:02 +01:00
Mike Robinson
f3a0e58bd9
Add HAVE_PARPORT build option
2014-10-04 22:04:38 +01:00
twinaphex
d4a14c4cb9
Move joypad_connection code to input/connect
2014-10-04 23:02:48 +02:00
Twinaphex
907b83065b
(pad_connection) Add pad_connection_init
2014-10-04 22:32:43 +02:00
Twinaphex
7b5407379c
(iOS/OSX) Nit
2014-10-04 22:32:43 +02:00
Twinaphex
8c269f119d
Set a function pointer inside each pad_connection device for
...
send_control
2014-10-04 22:05:38 +02:00
Twinaphex
c90c2c5829
(Apple) More Wiimote integration
2014-10-04 21:46:18 +02:00
twinaphex
59b3f96e5f
Integrate wiimote.c into apple_joypad_wii.c
2014-10-04 21:40:59 +02:00
Twinaphex
6464b98191
Get rid of some apple_input.h header includes
2014-10-04 21:13:08 +02:00
twinaphex
4565b824a9
Change apple_pad_* implementations into pad_connection_*
2014-10-04 21:11:20 +02:00
Twinaphex
9e26dec5fa
(iOS/OSX) Build fixes
2014-10-04 21:04:40 +02:00
twinaphex
5af2d315c4
Divorce pad_connection pad implementations from any Apple input-specific
...
implementations
2014-10-04 20:53:58 +02:00
Mike Robinson
bf5cbfacee
Fix autodetection of non-connected status pins
2014-10-04 19:00:09 +01:00
Mike Robinson
aab4f3032a
Add reporting of autodetected non-connected pins
2014-10-04 18:59:31 +01:00
twinaphex
311ab7072b
Update apple_joypad_ps3.c and apple_joypad_ps4.c as well
2014-10-04 19:25:43 +02:00
Twinaphex
1fe04654ce
(Apple) Build fixes
2014-10-04 19:14:04 +02:00
twinaphex
640fa534cd
Move common code to joypad_connection.c - will still need
...
iOS/OSX build fixes
2014-10-04 19:07:59 +02:00
Mike Robinson
531ad20ddd
Attempt to autodetect non-connected pins
2014-10-04 18:03:00 +01:00
twinaphex
b7a0098c80
rename joypad_connection_connect to pad_connection_connect
2014-10-04 18:51:26 +02:00
twinaphex
30a255e70a
Rename apple_joypad_has_interface to pad_connection_has_interface
2014-10-04 18:49:45 +02:00
twinaphex
e9239316f8
Rename apple_joypad_disconnect to pad_connection_disconnect
2014-10-04 18:48:02 +02:00
twinaphex
4d14540997
Rename apple_joypad_packet to pad_connection_packet
2014-10-04 18:45:59 +02:00
twinaphex
14b17ed7d5
Rename apple_joypad_connect to joypad_connection_connect
2014-10-04 18:43:30 +02:00
twinaphex
5b4df0edd2
Start adding stub joypad_connection.c/joypad_connection.h files
2014-10-04 18:41:23 +02:00
twinaphex
c93982ef73
Rename apple_pad_send_control to pad_connection_send_control
2014-10-04 18:38:01 +02:00
twinaphex
2e4c2fedb2
Change apple_pad_interface to pad_connection_interface
2014-10-04 18:35:23 +02:00
twinaphex
c2c73c02b6
(Apple) Change apple_pad_connection to pad_connection
2014-10-04 18:31:37 +02:00
twinaphex
d2367b9342
(input/wiimote) Style nits/cleanups
2014-10-04 18:27:19 +02:00
Mike Robinson
44df93dfd1
More robust error and register state handling
2014-10-04 17:26:28 +01:00
twinaphex
09e27f523d
(Apple/iOS) Cleanups
2014-10-04 18:11:39 +02:00
Twinaphex
8b79b12002
(Apple) Cleanups
2014-10-04 17:01:56 +02:00
Twinaphex
cfdf720614
(iOS) Get rid of implicit declaration warning
2014-10-04 16:55:12 +02:00
twinaphex
6fc4aa5f62
(iOS) apple_joypad_ios.c - cleanups
2014-10-04 16:54:01 +02:00
Twinaphex
b16d6d72a5
(OSX) Build fix
2014-10-04 16:47:44 +02:00
twinaphex
1e2f8651b9
(Apple) OSX HID - some cleanups
2014-10-04 16:46:52 +02:00
Twinaphex
c07aa7ec0a
(iOS/Apple) Dehardcode some code
2014-10-04 16:34:52 +02:00
Twinaphex
f957390f5f
(Apple) Integrate apple_input_hid.c code into apple_joypad_hid.c
2014-10-04 15:49:09 +02:00
Twinaphex
eb8a532824
(Apple HID) Cleanups
2014-10-04 15:44:02 +02:00
Twinaphex
a6dabc5b78
(Apple) Build fixes
2014-10-04 15:38:31 +02:00
twinaphex
f20baeb221
(Apple) Joypad refactor pt. 2
2014-10-04 15:37:09 +02:00
twinaphex
377a2e6c63
(Apple) Split up apple_joypad code into two - HID driver and iOS driver
2014-10-04 15:36:04 +02:00
twinaphex
9bcd163b04
(Apple/Udev) Small cleanups/style nits
2014-10-04 15:14:39 +02:00
Twinaphex
7950de0460
Revert "(Apple) apple_input.c - cleanups"
...
This reverts commit 24f091491e
.
2014-10-04 14:44:21 +02:00
twinaphex
24f091491e
(Apple) apple_input.c - cleanups
2014-10-04 14:40:28 +02:00
Mike Robinson
d258775926
Add parallel port joypad driver
2014-10-04 04:18:36 +01:00
twinaphex
0983689b60
(Apple) Remove apple_keycode_hidusage_to_name - seems to be unused right now
2014-10-03 16:03:44 +02:00
twinaphex
f4733cf1d0
(Apple) apple_input.c - cleanups
2014-10-03 16:01:43 +02:00
Twinaphex
eb09aa526c
(Apple) include "apple_keycode.h" for Apple
2014-10-03 15:33:24 +02:00
twinaphex
de2392be89
Move apple_key_map_hidusage over to input_common.c
2014-10-03 15:31:34 +02:00
twinaphex
ade2f71662
Cleanup do_state_checks
2014-10-03 14:53:04 +02:00
Twinaphex
7027f974eb
Merge pull request #1080 from mprobinson/joypad-driver
...
Fix joypad driver setting
2014-10-03 09:53:47 +02:00
Mike Robinson
6203c3162e
Fallback to first working joypad driver if init failed
...
Fallback to the old behavior on init failure so there's no
regression if the user did not select a working joypad driver.
2014-10-03 03:05:35 +01:00
Mike Robinson
b165b8fa82
Fix joypad driver setting
...
input_common.c was loading the first available joypad driver no
matter what input driver was selected, and the joypad driver menu
was non-functional. Allow choice of joypad driver from the menu.
2014-10-03 01:40:47 +01:00
twinaphex
532938c5fa
Refactor meta_input_keys_pressed
2014-10-03 00:55:44 +02:00
twinaphex
8a1f15c460
Move rarch_check_block_hotkey to input/input_common.c and make
...
the function static
2014-10-03 00:46:14 +02:00
twinaphex
245dc71658
Get rid of MODE_OSK_ENTRY_SUCCESS/MODE_OSK_ENTRY_FAIL
2014-10-02 21:19:11 +02:00
Higor Eurípedes
9bcf72a7e2
(SDL2) Implement joypad vendor/product id detection
2014-10-02 08:29:06 -03:00
twinaphex
cd4a2d43a8
(input_autodetect.c) Silence potential uninitialized variable warnings
2014-10-01 15:14:26 +02:00
twinaphex
0d19d33f04
(QNX/Blackberry) Pass VID/PID to autoconfig too
2014-10-01 15:00:36 +02:00
Twinaphex
41351fc73c
(Apple HID) Implement VID/PID passing
2014-10-01 14:24:55 +02:00
twinaphex
ec9a217090
Change VID/PID passing to autodetect function - now int32_t
...
values
2014-09-30 20:35:58 +02:00
Toad King
b0ade7e010
add getVendorId and getProductId to android device detection (needs testing)
2014-09-30 12:31:37 -05:00
Twinaphex
e6f3f82440
(Apple OSX) Build fix
2014-09-30 18:19:20 +02:00
twinaphex
aea679456d
(Input autodetect) Start setting up input autodetect so that it
...
can look at matching VID/PIDs
2014-09-30 18:18:02 +02:00
twinaphex
d43b9082e7
Move input_autodetect code to input_autodetect.c
2014-09-30 17:48:31 +02:00
twinaphex
03378289d7
(Apple) hid_device_input_callback - cleanup
2014-09-30 17:38:06 +02:00
twinaphex
41f9a47a01
(Apple) HID - indenting nits
2014-09-30 17:08:11 +02:00
Twinaphex
4349ef0311
(Apple) Cleanup
2014-09-30 16:56:25 +02:00
twinaphex
40894b2cc3
(QNX) Input - cleanups
2014-09-30 16:50:28 +02:00
Twinaphex
9b8fb4cac5
(Apple) Reimplement apple_bind_button_pressed
2014-09-30 16:38:30 +02:00
Twinaphex
01b39fd81a
(Apple) Build fix
2014-09-30 16:35:49 +02:00
twinaphex
05eb9a0af8
(Apple) apple_input.c - refactor
2014-09-30 16:34:40 +02:00
Twinaphex
1cbb290d3b
(Apple) Input - cleanups
2014-09-30 15:49:26 +02:00
Twinaphex
807818d4c6
(Apple) Reimplement input - get rid of g_current_input_data global
...
and instead initialize driver.input_data
2014-09-30 15:44:40 +02:00
Twinaphex
f137f680c3
(Apple) Refactor apple_input_data_t
2014-09-30 15:03:22 +02:00
Twinaphex
b285044e78
(Apple HID) Refactor input_device_hid_callback pt. 3
2014-09-30 14:28:50 +02:00
twinaphex
b9ed7362eb
(Apple/OSX) Refactor hid_device_input_callback pt. 2
2014-09-30 13:53:36 +02:00
Twinaphex
faf8f27bf4
(Apple/OSX) Refactor hid_device_input_callback
2014-09-30 13:51:30 +02:00
Twinaphex
ea6a97f33b
(OSX) Comment out PS4 pad code for now
2014-09-30 13:30:05 +02:00
Twinaphex
90d6aec985
(Apple joypad PS4) Some changes
2014-09-30 11:31:23 +02:00
Twinaphex
597f25624a
(apple_joypad_ps4.c) - build fixes
2014-09-30 10:55:52 +02:00
twinaphex
e65831a778
(Apple) Start backporting meancoot's DualShock4 code from MFIWrapper
2014-09-30 10:52:46 +02:00
Twinaphex
9f5031188b
Merge pull request #1066 from CyberShadow/pull-20140930-083313
...
Refactor old_state out of meta_input_keys_pressed into rarch_main_iterate
2014-09-30 10:40:43 +02:00
Vladimir Panteleev
0c104ffef8
Refactor old_state out of meta_input_keys_pressed into rarch_main_iterate
2014-09-30 08:35:41 +00:00
twinaphex
ca9bfa18e4
Refine meta_input_keys_pressed
2014-09-29 21:23:35 +02:00
twinaphex
c8ec8d9a7d
Remove unused joy_keys_pressed function now
2014-09-29 21:01:59 +02:00
Vladimir Panteleev
d0e970f175
Fix/reimplement input flushing
...
This fixes:
- menu toggle erratically not working on Android
- stray input going to libretro core when resuming content
- bound keys triggering as soon as they're bound on Android
- menu key repeat also repeating keys which should not be repeated
- issues caused by relying on timeouts for flushing
Architectural changes:
- menu_ctx_driver_t::input_postprocess now takes state and old_state
(this allows getting rid of menu_handle_t::trigger_state)
Related changes:
- remove some no-op input_postprocess handlers (same effect as NULL)
- menu_iterate now uses the parameters passed to it, instead of
polling menu_input
- menu_input is now merged into meta_input_keys_pressed
2014-09-29 12:58:52 +00:00
twinaphex
cdefbcfc61
(retroarch.c/overlay.c) - cleanups
2014-09-28 17:52:15 +02:00
twinaphex
8b309fbeaa
Move clear_bit/get_bit/set_bit to input_common.h
2014-09-28 17:07:44 +02:00
Twinaphex
9edb88caba
(Apple joypad) Comment out WiiU/DualShock4 checks
2014-09-28 16:07:38 +02:00
twinaphex
a0f24d0bb2
(Apple HID) Get vendor ID/product ID too
2014-09-28 15:32:17 +02:00
Twinaphex
d7fe629afa
(Apple) apple_pad_interface - cleanups
2014-09-28 15:21:59 +02:00
Twinaphex
db4818ff9b
(Apple) Input - cleanups in apple_joypad_ps3.c
2014-09-28 15:19:03 +02:00
twinaphex
afd090edd9
apple_pad_interface - use void *
2014-09-28 15:06:51 +02:00
Twinaphex
747badfa6c
(Apple HID) Show message queue message when disconnecting joypad
2014-09-28 09:05:11 +02:00
twinaphex
f3004d29d1
(Udev) add comment
2014-09-28 08:58:16 +02:00
twinaphex
0a4ef36218
(Apple HID) Cleanups
2014-09-28 08:35:51 +02:00
Twinaphex
b0fb6f483d
(Apple/OSX) Split up HID code into separate file
2014-09-28 08:29:45 +02:00
Twinaphex
d8100d299a
(iOS) Build fixes
2014-09-28 07:01:39 +02:00
Twinaphex
764e7f930d
Go through ID API for generaltools.
2014-09-27 21:36:04 +02:00
twinaphex
b2b9cf5717
Rewrite input_push_analog_dpad
2014-09-26 12:56:03 +02:00
twinaphex
d94e8329e8
Move stuff to config.features.h
2014-09-25 08:12:58 +02:00
twinaphex
715eeb0062
(Android) Fix build
2014-09-25 06:49:55 +02:00
twinaphex
00e605d9ba
Take out MODE_MENu - and introduce g_extern.is_menu
2014-09-25 06:33:28 +02:00
twinaphex
aa6d779fbc
Added 1-second timeout when binding hotkeys
2014-09-25 04:44:24 +02:00
twinaphex
8015061720
Refactor menu_input - add input_keys_pressed in addition to
...
meta_input_keys_pressed
2014-09-25 04:19:09 +02:00
twinaphex
94a269dbca
(Android) Build fix
2014-09-18 05:54:39 +02:00
twinaphex
f16a065cdd
Fixes 'block hotkey enable'
2014-09-18 04:04:33 +02:00
twinaphex
92938fe45f
Optimizations - prevent static bools everywhere in check_* functions
...
- input_keys_pressed_func takes a pointer and sets it to the last
input state. We then pass this around functions and use it where
necessary
2014-09-17 06:55:03 +02:00
twinaphex
4a84e0e609
Refactor input_keys_pressed_func
2014-09-17 00:46:16 +02:00
twinaphex
310438f15b
Refactor away input_key_pressed_func
2014-09-17 00:29:47 +02:00
twinaphex
c391249e3f
Optimizations -
...
* reduce amount of calls to input_key_pressed_func all throughout
rarch_main_iterate - call input_keys_pressed_func only once and
then pass an input state value around to all subsequent functions
* define retro_input_t typedef - simply an uint64_t for now since
meta binds don't exceed 64 entries yet
2014-09-16 09:26:08 +02:00
twinaphex
eeda9df418
input_common.c - small cleanups
2014-09-16 07:06:23 +02:00
twinaphex
191f0b6383
Move input_key_pressed to input_common.h
2014-09-16 07:02:57 +02:00
Lioncash
f8499aa71a
Sanitize against NULL in some free-like functions.
2014-09-15 09:30:27 -04:00
twinaphex
8437e4bd2a
Style/indent nits
2014-09-15 07:03:54 +02:00
Higor Eurípedes
52f300b3ac
(Makefile.common) Add missing xinput autoconfig object
2014-09-13 23:09:14 -03:00
Lioncash
64272ef327
Squash some more potential null pointer dereferences
2014-09-11 23:04:02 -04:00
Lioncash
736561ecbe
dinput: Guard against the case where malloc fails
2014-09-11 20:41:46 -04:00
twinaphex
080a79d9c5
(DirectInput) Build fix
2014-09-11 07:37:59 +02:00
twinaphex
75d2e13dcb
Make drivers non-const
2014-09-11 07:06:20 +02:00
Twinaphex
511f0ab075
Merge pull request #960 from lioncash/sign
...
apple_input: Fix a signed-unsigned mismatch warning
2014-09-09 22:08:28 +02:00
Lioncash
070d68186a
apple_input: Make MAC_NATIVE_TO_HID array static.
2014-09-09 14:54:29 -04:00
Lioncash
32a191b873
apple_input: Fix a signed-unsigned mismatch warning
2014-09-09 14:49:08 -04:00
twinaphex
689cd6322f
Indenting / style nits
2014-09-09 18:15:17 +02:00
twinaphex
3d931d946e
Indent/style cleanups
2014-09-09 17:34:28 +02:00
Higor Eurípedes
1833467c2c
C++ build fixes
2014-09-06 22:14:09 -03:00
Lioncash
6b84ccdcef
Make some functions static
2014-09-06 00:10:52 -04:00
Twinaphex
6fdc22eb0b
Merge pull request #943 from lioncash/printf-fmt
...
Fix some printf specifiers to the correct signed-ness
2014-09-06 03:40:26 +02:00
twinaphex
24500dfeb5
(Android) Build fixes
2014-09-06 03:39:37 +02:00
twinaphex
d7ca4d584c
(Android) KEY_DOLLAR and KEY_EURO not defined on Android
2014-09-06 03:32:55 +02:00
Lioncash
ab1ab62a6d
Fix some printf specifiers to the correct signed-ness
2014-09-05 19:43:32 -04:00
Higor Eurípedes
a01e43cc6d
Add missing linuxraw/udev keys
2014-09-04 12:51:34 -03:00
twinaphex
514e454f16
Bump up max players to 16
2014-09-04 16:15:49 +02:00
twinaphex
6a825fbd7a
(PS3) ps3_input.c - Get rid of unneeded else
2014-09-03 17:59:55 +02:00
Higor Eurípedes
61628a1740
(SDL) Add support to key binding
2014-09-02 21:36:37 -03:00
Higor Eurípedes
a7190a8da5
Reorder and add missing X11 and SDL key syms
...
SDL1 and SDL2 key syms have been merged.
2014-09-02 21:36:37 -03:00
twinaphex
e68f62040d
Cleanups, 80-char limit
2014-09-02 16:50:28 +02:00
twinaphex
1da139ade1
(XDK) Split up XDK input driver into separate input_ and joypad_ files
2014-08-30 03:48:51 +02:00
twinaphex
00f53247cd
Split up input drivers into separate input_ and joypad_ files
2014-08-30 03:46:57 +02:00
twinaphex
fd3a419242
(PS3) Split off PS3 input joypad code into separate file
2014-08-30 03:41:13 +02:00
twinaphex
bf13548459
Remove extraneous elses in input code
2014-08-28 18:09:55 +02:00
twinaphex
c564252f2f
(input/android_input.c) Remove extraneous else
2014-08-27 04:09:25 +02:00
twinaphex
228569c8f8
Cleanup extraneous elses
2014-08-27 03:28:22 +02:00
twinaphex
cb09818d71
(Android) Code reformatting to stay within 80-char limit
2014-08-20 16:45:46 +02:00
Higor Eurípedes
f854449d47
(SDL*) Add joypad auto configuration support
2014-08-19 16:55:32 -03:00
Higor Eurípedes
12d0bdfc8a
(SDL2) Add SDL Game Controller (xinput and friends) support
...
Signed-off-by: Higor Eurípedes <heuripedes@gmail.com>
2014-08-19 16:55:32 -03:00
Higor Eurípedes
8b569a789c
(SDL2) Use SDL_INIT_GAMECONTROLLER
...
Signed-off-by: Higor Eurípedes <heuripedes@gmail.com>
2014-08-19 16:55:32 -03:00
Higor Eurípedes
e88f3b4355
(SDL) Fix double initialization
...
Signed-off-by: Higor Eurípedes <heuripedes@gmail.com>
2014-08-19 16:55:32 -03:00
Higor Eurípedes
0f7c67daab
(SDL) Fix #ifdef typo
...
Signed-off-by: Higor Eurípedes <heuripedes@gmail.com>
2014-08-19 16:55:31 -03:00
twinaphex
2f244676be
(Android) Input autodetect - get rid of two ifdefs
2014-08-19 15:07:22 +02:00
twinaphex
77ded89362
(Android) Remove android_input.c.rem
2014-08-19 14:39:42 +02:00
twinaphex
b8058cd4f7
(Android) Reduce amount of ifdefs for pad detection
2014-08-19 14:20:33 +02:00
twinaphex
41bd5b3244
(Android) Move input code to autoconfigs
2014-08-19 14:10:01 +02:00
twinaphex
3c2aed9564
(Android) Zeemote Steelseries moved to autoconfig
2014-08-19 12:03:03 +02:00
twinaphex
61bdfc8719
(Android) Input - get rid of device enums and device variable
2014-08-19 10:33:30 +02:00
twinaphex
c668877cb3
(Android) Move Madcatz PC USB Stick to autoconfig repo
2014-08-19 10:26:07 +02:00
twinaphex
efbd528260
(Android) Move more input autoconfigs to retroarch-autoconfig repo
2014-08-19 10:18:43 +02:00
twinaphex
df46a9573b
(PS3) Fix PS3 OSK name
2014-08-17 05:36:43 +02:00
twinaphex
d3ae0834e6
(GX) Move sicksaxis GX files to input/ and rename it
2014-08-15 21:18:46 +02:00
twinaphex
6b5bb100a1
(PSP) Move psp files to gfx/psp
2014-08-15 21:14:26 +02:00
twinaphex
9203160abe
Move xenon drivers to input/audio
2014-08-15 21:11:26 +02:00
twinaphex
823be1ce41
Get rid of more driver_funcs macros
2014-08-15 20:51:59 +02:00
twinaphex
0966d384d8
(OSK) Get rid of HAVE_OSK ifdef
2014-08-14 06:40:33 +02:00
twinaphex
dde16691d3
(QNX) Remove set_keybinds
2014-08-14 05:38:59 +02:00
twinaphex
c2f7a0722b
(QNX) Dehardcode macros used for configs
2014-08-14 05:24:57 +02:00
twinaphex
4b67cf83c8
(Apple) apple_joypad_ps3/apple_joypad_wii - cleanups
2014-08-14 04:52:39 +02:00
twinaphex
88af50ab82
Add null drivers
2014-08-14 03:05:44 +02:00
twinaphex
12c0311f04
(Input) Get rid of unused devices_size
2014-08-14 00:56:40 +02:00
twinaphex
fab7792058
Get rid of set_keybinds - no longer used
2014-08-14 00:49:28 +02:00
Twinaphex
0d4b80b010
(Apple) Move apple/common/hidpad files to input/
2014-08-13 23:56:51 +02:00
twinaphex
9976b4581d
(Android) Input - cleanups
2014-08-13 23:04:59 +02:00
twinaphex
1c35e607b5
(Android) Input binds - cleanups
2014-08-13 22:50:22 +02:00
twinaphex
a523f072ed
(Android) Input binds - cleanups
2014-08-13 22:02:31 +02:00
twinaphex
95093580e6
(Android) Get rid of Saitek Rumble code - moved to autoconfig
2014-08-13 20:29:03 +02:00
twinaphex
92e7e413d4
(Android) Take out HAVE_BUILTIN_AUTOCONFIG - Android port now relies
...
on joypad autoconfig files put inside autoconfig directory
2014-08-13 12:17:45 +02:00
twinaphex
7ff8db3f69
input_common.c - prevent unused variable warning
2014-08-12 23:00:59 +02:00
twinaphex
b1d7cd038d
Refactor input_push_analog_dpad
2014-08-12 20:59:05 +02:00
Higor Eurípedes
16e0d24e17
(SDL*) Properly initialize SDL library/subsystems
2014-08-11 19:47:30 -03:00
Higor Eurípedes
e38c826fe1
(SDL*) Merge joypad drivers
2014-08-11 19:47:30 -03:00
Higor Eurípedes
b6df19dffb
(SDL*) Merge input drivers
2014-08-11 19:47:30 -03:00
Twinaphex
7b8629c962
Merge pull request #867 from heuripedes/sdl2
...
SDL2 video, audio, input and joypad drivers
2014-08-11 05:51:33 +02:00
Twinaphex
c31d2867f5
(Apple) Build fix
2014-08-11 05:37:39 +02:00
twinaphex
7d3eed53ba
(Apple/OSX) Add input autodetection stub
2014-08-11 05:32:41 +02:00
Higor Eurípedes
0e5305b10f
(SDL2) Attempt to fix missing events issue
2014-08-10 19:57:17 -03:00
Higor Eurípedes
4c084b885d
(SDL2) Fix rumble and implement joypad hotplug
2014-08-10 18:37:14 -03:00
Higor Eurípedes
609f3a8a36
(SDL2) Added joypad driver
2014-08-10 18:09:56 -03:00
Higor Eurípedes
46beb117ef
(SDL2) Add input driver
2014-08-10 15:00:21 -03:00
twinaphex
b76a2c2cee
Refactor away input_joypad_poll - trivial wrapper function
2014-08-03 00:44:07 +02:00
twinaphex
b6dc9fff03
Comment out input_common debug log
2014-08-02 19:56:18 +02:00
twinaphex
1c290c6f00
(Udev) Implement mouse wheel up/down (using BTN_FORWARD/BTN_BACK) -
...
figure out why it still doesn't work with libretro-test
2014-08-01 05:34:05 +02:00
twinaphex
5f42c1281b
Refactor input_try_autoconfigure_joypad - certain pads (like Xarcade
...
Tankstick) have two player pads on one device and have separate
buttons/keys per pad - so we need to query first for a name with the
'index' appended at the end - and a more generic 'name' afterwards
2014-07-28 04:28:45 +02:00
twinaphex
7730e872f8
Take out autoinput log
2014-07-28 04:08:06 +02:00
twinaphex
a41c97c186
Add log for AUTOINPUT
2014-07-28 02:06:54 +02:00
twinaphex
fb73970699
(Overlay) input_overlay_fullscreen - add return false if ol is NULL
2014-07-25 19:52:44 +02:00
twinaphex
a47c4db5e5
Backport Lioncash - Fix some compile warnings realted to casting
2014-07-23 07:17:31 +02:00
zlice
63738f3165
missed 1
2014-07-15 16:02:14 -04:00
zlice
8aa0d02b31
qnx_input.c syntax errors
2014-07-14 19:03:05 -04:00
Toad King
57d1cbbf26
(EMSCRIPTEN) add analog emulator support
2014-07-06 20:02:44 -04:00
twinaphex
d2b75d31bd
(Android) Shield - right analog stick Y axis was inverted
2014-07-02 18:27:55 +02:00
Monroe88
adc7cba421
Add missing RetroKeyboard mappings to DirectInput
2014-07-01 21:06:56 -05:00
twinaphex
a0f6bf1fe5
(QNX) Input driver - use driver.video_data directly
2014-06-30 00:12:33 +02:00
twinaphex
78c930a020
(Android) Input - zeus_port is unused
2014-06-21 08:27:07 +02:00
twinaphex
4dc0e97ea1
(Android) Refactor more code
2014-06-21 06:43:21 +02:00
twinaphex
38a05b5217
(Android) More refactorings to do with pad autoinput code
2014-06-21 06:35:52 +02:00
twinaphex
f65950521e
(Android) Rename handle_hotplug_get_device_name into android_input_get_id_name
2014-06-21 06:17:10 +02:00
twinaphex
5deb9a31e6
(Android) Create helper function android_input_get_id_port
2014-06-21 05:58:09 +02:00
twinaphex
c6a0c67022
(Android) Input cleanup
2014-06-21 04:42:46 +02:00
twinaphex
c090ee634c
(Android) Remove debug_input_enable
2014-06-20 07:03:06 +02:00
twinaphex
5185dd276a
(Android) Deopaque some leaf functions in input driver
2014-06-17 20:25:47 +02:00
Themaister
89f052f5e5
Fix some Win32 build issues.
2014-06-17 17:52:00 +02:00
Themaister
15c35d7e44
Fix texture_image_load/free.
2014-06-17 17:44:48 +02:00
Twinaphex
4f4103b967
Merge pull request #758 from l3iggs/patch-2
...
fix build
2014-06-15 09:12:41 +02:00
Twinaphex
e3fadb85b8
Merge pull request #759 from l3iggs/wireless360receiver
...
fix up XBox 360 controller wireless receiver
2014-06-15 09:12:29 +02:00
Twinaphex
ba5a0f3463
Merge pull request #756 from l3iggs/patch-1
...
fix DECL_AUTOCONF_DEVICE macro
2014-06-15 09:11:41 +02:00
l3iggs
92bef4d64c
add wireless 360 controller receiver default map
2014-06-14 23:24:03 -07:00
l3iggs
2f63e0b7ee
xbox 360 wirelss receiver fix
...
A xbox 360 controller wireless receiver (http://support.xbox.com/en-US/xbox-on-other-devices/connections/xbox-360-wireless-gaming-receiver-windows ) reports itself as "Xbox 360 Wireless Receiver" (typically) or "Microsoft Corp. Xbox 360 Wireless Adapter" (possibly) so it's detection should not contingent on finding "Microsoft" in the name string.
Its d-pad reports different button codes than a wired 360 controller so we need a new configuration for this pad.
2014-06-14 23:24:03 -07:00
John Grub
e2f8217d83
fix build
...
need another #endif here to go along with the new #ifdef
2014-06-14 17:25:09 -07:00
twinaphex
7b3f0059bc
(QNX) Input driver - cleanups
2014-06-14 23:12:02 +02:00
twinaphex
c1501f7ffe
(QNX) Start refactoring QNX input driver
2014-06-14 23:07:58 +02:00
John Grub
a79ac53f4b
fix DECL_AUTOCONF_DEVICE macro
...
don't use string literal replacement for binds, which is a macro its self
2014-06-14 13:33:18 -07:00
twinaphex
f76a0c4953
(QNX) Move qnx_input.c
2014-06-14 20:30:47 +02:00
vikbez
822d64b663
DECL_AUTOCONF_DEVICE macro to clean code
2014-06-14 12:33:39 +02:00
John Grub
a2c6f3ef3a
add missing comma
2014-06-13 21:36:43 -07:00
twinaphex
b9bf87c5f0
(RARCH_CONSOLE) Cleanup autoconf implementations
2014-06-14 05:14:38 +02:00
twinaphex
e74d85718e
(Android) Take out Broadcom Bluetooth HID detection for now - it will
...
need more heuristics in order to detect all the pads correctly
2014-06-14 03:43:25 +02:00
twinaphex
8ee740a538
(Android) Implement TTT HT default binds
2014-06-14 03:42:07 +02:00
twinaphex
aeeb962b3d
(Android) Going to need a different way of identifying pads that identify
...
themselves by HID name 'Broadcom HID" - until then, this can go
2014-06-14 03:29:13 +02:00
twinaphex
341230c106
(Android) Add Nyko Playpad Pro/Mayflash Wii Classic Pro/SZMy Dual Wii
...
default binds
2014-06-14 03:02:14 +02:00
Twinaphex
877f2d5aba
Merge pull request #752 from vikbez/master
...
macro for binding menu button
2014-06-14 01:12:52 +02:00
twinaphex
66ddb16e08
(Android) Add more default binds
2014-06-14 01:11:52 +02:00
vikbez
e061dadae0
macro for binding menu button
2014-06-14 00:33:06 +02:00
vikbez
61ba7ca2a6
map xbox360 pad center button to menu_toggle_btn
2014-06-13 22:30:45 +02:00
twinaphex
b428b98918
(Android) Change defines to numbers in android_input.c.rem
2014-06-13 21:03:13 +02:00
twinaphex
d1c7cd650f
(Android) Add Sega Virtua Stick default binds
2014-06-13 18:07:49 +02:00
twinaphex
b7b0e520ef
(Android) Add default binds for MUCH iRead i5 and FC30
2014-06-13 17:44:49 +02:00
twinaphex
a639d85aff
(Android) Add Supersmart joy 2 default binds
2014-06-13 07:36:45 +02:00
twinaphex
cc5ac95449
(Android) builtin_android.c - add default (untested) twin analog
...
binds
2014-06-13 06:55:25 +02:00
twinaphex
84fd553025
(Android) Add JXD devices to autonconf
2014-06-12 04:23:32 +02:00
twinaphex
232ef7243a
(Android) Add default binds for Wikipad, Archos Gamepad and TOMMO
...
Neo-Geo X
2014-06-12 03:48:01 +02:00
twinaphex
ba5ebbdb7d
(Android) Input - implement GameMID default binds
2014-06-12 03:00:26 +02:00
twinaphex
9e844b06b3
(Android) Input cleanup - don't need all these keycode enums anymore
2014-06-11 23:13:43 +02:00
twinaphex
1303be37b6
(Android) Input - cleanups to handle_hotplug - aim to remove enums for
...
devices eventually - anything that doesn't set name_buf right now still
needs to be converted to new autoconf system
2014-06-11 22:54:29 +02:00
twinaphex
648b3070e0
(Android) Add Sidewinder, PS2 WiseGroup, SideWinder Dual Strike
...
binds
2014-06-11 21:44:44 +02:00
twinaphex
232d4c084d
(Android) Add Ouya default binds
2014-06-11 21:12:09 +02:00
twinaphex
90cc90ca38
(Android) Add Samsung EI-GP20 binds
2014-06-11 20:38:06 +02:00
twinaphex
8a80cd59aa
(Android) Take out Zeus keybinds from android_input.c.rem
2014-06-11 20:32:56 +02:00
twinaphex
a711ab7993
(Android) Build fix
...
(Android) Try to prevent spamming of TTY messages on Xperia Play
(http://ps3computing.blogspot.nl/2012/12/anr-application-not-responding.html )
2014-06-11 20:11:37 +02:00
twinaphex
fa766e60aa
(Android) Add Xperia Play default binds
2014-06-11 20:07:05 +02:00
Themaister
c6d2be9eb4
Use a more "correct" SHIELD hack.
2014-06-11 16:21:05 +02:00
Themaister
e7fe5b5091
Android: Fix some additional autoconfigs.
2014-06-11 16:16:09 +02:00
Themaister
42858cd3a1
Android: Implement AXIS_HAT_X/Y as actual hats.
...
Fixes d-pad emulation on Shield.
2014-06-11 16:01:59 +02:00
Themaister
50ac407a9a
Avoid breaking autoconfig when inside a push/pop d-pad emulation block.
2014-06-11 15:48:15 +02:00
Themaister
ee916bf2f1
Some Android fixes.
...
Dump config with RARCH_LOG instead of fprintf.
2014-06-11 15:48:15 +02:00
twinaphex
3f6850169d
(Apple) Input cleanups
2014-06-11 14:06:24 +02:00
twinaphex
0913ba9000
(Android) Remove entries from android_input.c.rem that we've already covered
2014-06-11 12:08:09 +02:00
twinaphex
25e4f35d9d
(Android) Add HuiJia default binds
2014-06-11 12:06:02 +02:00
twinaphex
41a83fdbf2
(Android) Add default binds for 360 pad
2014-06-11 10:16:27 +02:00
twinaphex
47fc344ea6
(Android) Input - add Sixaxis default binds - see previous commit
...
message
2014-06-11 09:39:13 +02:00
twinaphex
56016f668b
(Android) Add Rumblepad 2 default binds (in preparation for autoconf
...
stuff being fixed on Android)
2014-06-11 09:28:02 +02:00
twinaphex
45f053e387
(Android) Rename autodetect function
2014-06-11 08:26:44 +02:00
twinaphex
e0111e9ade
(Android) Input - cleanups
2014-06-11 08:23:00 +02:00
twinaphex
4d29cff96f
(Android) Get rid of ICADE_PROFILE_*
2014-06-11 08:13:18 +02:00
twinaphex
20cd1f5734
(Input) Remove devices_size function callback implementation in drivers
...
that no longer implement set_keybinds
2014-06-11 08:12:17 +02:00
twinaphex
78bbfcd64d
(Android) Input - do autoconf iterating over pads at joypad_init time
2014-06-11 01:40:09 +02:00
twinaphex
406dc253eb
(Android) Input driver - cleanup
2014-06-11 00:11:30 +02:00
twinaphex
4eb288f348
(Android) builtin_android.c - one entry per pad should be enough
2014-06-10 23:29:04 +02:00
twinaphex
ee542e2aa5
(Android) Shield - Start adding autoconf for Android - currently only binds to auto the two analog
...
sticks and the menu button - maister - please look at this as well to see what is going wrong
2014-06-10 23:24:09 +02:00
twinaphex
0154a8e0d3
(Android) Nit
2014-06-10 22:16:49 +02:00
twinaphex
8193eb4b3d
(Android) Input - Move files around
2014-06-10 22:15:23 +02:00
twinaphex
31c68a7402
(Android) Input driver - cleanup pt. 1
2014-06-10 21:59:18 +02:00
twinaphex
183a48f108
(PSP) Forgot to add builtin_psp.c
2014-06-10 15:41:57 +02:00
twinaphex
fa021197ba
(Apple) Set driver.input_data_own to true for input driver for now
...
- until we can teardown and reinit this entire thing properly
2014-06-10 05:41:06 +02:00
twinaphex
234edda575
(Apple) Properly implement joypad - now executes init - and
...
also executes osx_pad_init and osx_pad_quit from joypad driver now
instead of outside code having to call it externally
2014-06-10 03:32:03 +02:00
twinaphex
a7cb3e22a7
(Menu) Replace some more RGUI strings
2014-06-10 02:44:19 +02:00
twinaphex
8c7435a308
(GX) Input - Don't do ptype == 0 early return
2014-06-10 01:29:20 +02:00
twinaphex
89b68687e4
(GX) Refactor controls in input_poll - still slow in VBA Next /
...
SSF2T
2014-06-10 00:06:04 +02:00
twinaphex
76cafc24f1
(GX) Working autoconf controls - investigate performance issues
2014-06-09 23:50:59 +02:00
twinaphex
74708ede99
(GX) Input rewrite pt. 2 - buggy and error-prone right now
2014-06-09 23:21:48 +02:00
twinaphex
6ab2e3e9ea
(GX) Add builtin_gx.c
2014-06-09 21:56:38 +02:00
twinaphex
13c5e4b1ab
(GX) Reimplement controls pt. 1
2014-06-09 21:18:22 +02:00
Themaister
9bf32df360
Report autoconfigured binds in RGUI.
2014-06-09 19:23:51 +02:00
twinaphex
a32c29e5ed
(PSP) Refactor input autoconf
2014-06-09 18:57:17 +02:00
twinaphex
735a07cdf9
(PS3) Input driver - cleanup
2014-06-09 18:28:28 +02:00
twinaphex
10de1624eb
(XDK) Update xinput driver
2014-06-09 18:28:33 +02:00
twinaphex
0e6d99d2de
(XDK) Switch to new autoconf system
2014-06-09 18:17:37 +02:00
twinaphex
af81660c18
(PS3) Set up left analog Y axis properly
2014-06-09 17:11:56 +02:00
twinaphex
34b8499525
(PS3) Build fix
2014-06-09 16:09:51 +02:00
Themaister
accc24ac8a
Properly init ps3 joypad driver.
2014-06-09 16:03:42 +02:00
twinaphex
b842ba5565
(PS3) Add additional logging to PS3 joypad init
2014-06-09 15:54:06 +02:00
twinaphex
2e013742bc
(PS3) Fix copy-pasta credits
2014-06-09 14:36:38 +02:00
twinaphex
6ad7a5131d
(PS3 autoconf) Add builtin_ps3.c
2014-06-09 14:33:29 +02:00
twinaphex
ade719748d
(PS3) Converted PS3 over to autoconf PC-style
2014-06-09 14:32:45 +02:00
twinaphex
e4abd58485
(GX) Remove obsolete gx_menu_input_state
2014-06-08 21:22:47 +02:00
twinaphex
a78d8ed4d5
(PS3) Input - ps3_input_set_rumble - forgot break
2014-06-08 08:20:52 +02:00
twinaphex
39372a886d
(PS3 Input) Take out hardcoded DEADZONE_LOW/DEADZONE_HIGH
2014-06-08 08:19:18 +02:00
twinaphex
829acde00f
(PS3) Input - take out #if 0
2014-06-08 06:22:40 +02:00
twinaphex
d7317d7329
(PSP) Take out unnecessary custom menu binds
2014-06-08 06:09:57 +02:00
twinaphex
dbf59930cf
(PS3 Input) Take out unnecessary custom menu binds
2014-06-08 06:09:10 +02:00
twinaphex
d3c09a30f6
(Menu/XDK) Take out no longer needed separate menu binds
2014-06-08 06:08:21 +02:00
aliaspider
37878bd4ce
(PSP) implemented salamander and added support for switching between
...
cores.
2014-06-05 00:20:19 +01:00
twinaphex
961e2e2a70
Revert "(Apple) Integrate apple_hid_pad code into apple_joypad"
...
This reverts commit 62d1e311ad
.
2014-06-04 21:17:00 +02:00
twinaphex
62d1e311ad
(Apple) Integrate apple_hid_pad code into apple_joypad
2014-06-04 20:57:46 +02:00
twinaphex
7a7fffc7d8
(GX) Make input driver more generic
2014-06-04 06:22:29 +02:00
twinaphex
d9c7d9f9bd
(PSP) Add HAVE_KERNEL_PRX ifdef
2014-06-04 02:52:29 +02:00
aliaspider
b185fc3901
(PSP) add support for kernel-mode functions through a loadable module.
2014-06-04 01:35:26 +01:00
Toad King
0e28c455f3
[GX] own input driver, prevent wiimote disconnecting on game load
2014-05-30 20:59:08 -04:00
twinaphex
ffd68d4878
(Xbox) Seems that Xbox D3D does not free up all resources
...
for some reason and that they didn't anticipate full teardown/setup.
Not sure if I can confirm, but it has been hell so far trying to get
this to work. So, instead, implement a butt-ugly hack that forces
ownership over video/input lifetime state. Will properly refactor
the driver.*_data_own variables later so that this hack is less
ugly. Ideally we'd solve the teardown/setup problem but given this
is esoteric D3D gibberish - good luck debugging >_>
2014-05-30 01:48:55 +02:00
twinaphex
a747ad29d3
(XDK1) Remove manual usage of XInputClose in input free function
2014-05-30 00:33:04 +02:00
twinaphex
4ac47a9c56
(PS3) Input - free data variable at end of free function
2014-05-30 00:02:06 +02:00
twinaphex
07cd28d00f
(XDK) Properly implement XDK input free function
2014-05-29 23:54:00 +02:00
twinaphex
d1bcf03a3d
(GX) Input - properly implement free function
2014-05-29 23:49:33 +02:00
twinaphex
27765eb519
(PSP/XDK) Free input_data inside free function
2014-05-29 22:33:44 +02:00
twinaphex
b683feb389
(RARCH_CONSOLE) More cleanups to PS3 input/graphics drivers - don't do
...
early exit out of graphics/input free functions and ditto for init
function
2014-05-28 23:32:14 +02:00
twinaphex
0b66427768
(Xbox) Make XDK input and D3D drivers more resilient
2014-05-28 23:16:37 +02:00
twinaphex
e1387a7b0b
Take out image driver
2014-05-28 21:14:33 +02:00
Themaister
addba80c3b
Rewrite DSP plugin interface.
2014-05-20 12:28:33 +02:00
twinaphex
701a805737
(Playbook) Fixes Playbook build
2014-05-20 02:33:09 +02:00
twinaphex
3e667a8c07
(Playbook) Fix build
2014-05-17 14:36:15 +02:00
twinaphex
72beeba8b0
(Apple) Fix OSX build
2014-05-16 23:30:43 +02:00
Twinaphex
adcbb1ba42
Merge pull request #690 from orikad/master
...
fixed MFi controller support
2014-05-16 18:59:48 +02:00
Ori Kadosh
16cf2a0e52
fixed MFi controller support
2014-05-16 19:57:38 +03:00
twinaphex
f8e40f613b
(Input) Move console input drivers to input/ directory - should start getting rid of
...
all these platform-specific folders cluttering up the codebase tree
(GL) Build fix for PS3 - current MiniGL implementation doesn't support SRGB
(Griffin) shader_common only baked in if HAVE_SHADERS defined
2014-05-13 17:01:27 +02:00
twinaphex
3a3bc7c667
(Apple) Get rid of g_polled_input_data - this previously was necessary
...
for the Apple port because we were running RA on two threads - one UI, one RA.
With one thread it's no longer necessary to memcpy the input data over from one
thread to the other
2014-05-13 14:25:11 +02:00
twinaphex
fad218ea75
(Apple input) Cleanups
2014-05-13 14:02:56 +02:00
twinaphex
277b1f6702
(Apple) Input - some cleanups
2014-05-13 13:49:29 +02:00
Twinaphex
d236552aeb
Merge pull request #684 from orikad/master
...
fixed backspace on OS X (and possibly other UNIX)
2014-05-12 23:25:04 +02:00
Ori Kadosh
91d99e6859
fixed backspace on OS X (and possibly other UNIX)
2014-05-13 00:23:34 +03:00
Themaister
e677b4c091
Check for keyboard line input outside function.
2014-05-12 22:40:59 +02:00
Ori Kadosh
3429c54af8
fixed double key input on OS X
2014-05-12 23:32:14 +03:00
twinaphex
b2b5c6daec
(Image) Put image functions through abstract interface
...
(Image) Add image_driver to retroarch.cfg to specify image driver to use
(Menu) Add Image Driver to Drivers section
2014-05-10 20:26:58 +02:00
twinaphex
6b0f9d3698
(Apple) Move hid_pad.c to input/
2014-05-03 07:08:10 +02:00
twinaphex
1410b6937e
(Apple) Move Apple input files around - rename files
2014-04-26 17:39:46 +02:00
Themaister
76ef249982
Add missing MOUSE_MIDDLE.
2014-04-25 23:44:53 +02:00
Themaister
a64da5d5ff
We don't support SDL 2.0 anyways.
2014-04-25 23:40:20 +02:00
twinaphex
b6e5b54091
Add note to sdl_input.c regarding mouse wheel up/down
2014-04-25 21:50:46 +02:00
twinaphex
771c7e20b7
Add mouse wheel up/down support to libretro.h - also add preliminary
...
support for these buttons to 'some' input driver implementations
2014-04-25 21:35:13 +02:00
twinaphex
569de131a0
Move device enums outside of driver.h - and create new callback
...
for 'getting' the number of 'devices' the input driver supports
2014-04-17 20:47:43 +02:00
Themaister
89e48d3f1b
Only accept key releases.
2014-04-13 19:51:10 +02:00
Themaister
39ef5d8e03
Don't accept hotkeys until key has been released.
...
Avoid quitting RetroArch immediately after Quit RetroArch bind.
2014-04-13 19:47:32 +02:00
Themaister
255e43966a
Implement basic keyboard binding in RGUI.
2014-04-13 12:12:12 +02:00
twinaphex
fd7f4d45cd
Move image files to gfx/image/
2014-02-25 21:24:15 +01:00
Themaister
712ab89ebb
Check KEY_UP to KEY_DOWN in udev joypad.
...
Wiimote classic uses this for some odd reason ...
2014-02-20 08:23:17 +01:00
pinumbernumber
ecdf175006
fix tiny leak
2014-02-04 19:59:15 +00:00
Themaister
860dfc61e6
Only warn if udev detects no input.
2014-01-24 10:20:10 +01:00
pinumbernumber
09651cbe21
Hopefully improved detection of third-party dual xinput/dinput pads
2014-01-23 21:57:19 +00:00
Royerson
a13dd7a6fc
Add name to xinput pad list
...
"Controller (GPX Gamepad)"
2014-01-22 22:52:49 -07:00
twinaphex
460670f074
Move sensor value reading to retro_sensor_interface
2014-01-20 14:52:53 +01:00
Themaister
682bd74a28
Only destroy dinput if non-NULL.
2014-01-16 08:17:20 +01:00
OV2
34561b3708
win32: detect joypad changes
2014-01-16 00:04:56 +01:00
Themaister
af7fb86427
Fallback if mouse or keyboard interface is not working.
...
Problems with tablets on Windows.
2014-01-15 17:35:23 +01:00
Themaister
2c60dfb8cf
Add some more error logging to dinput.
2014-01-11 18:11:00 +01:00
Twinaphex
165698b9f2
Merge pull request #481 from libretro/dpad-map
...
Analog D-pad mapping
2014-01-08 12:01:39 -08:00
Themaister
67e7628568
Rename input_find_sk_key.
...
Matches up better with the conventions in input_common.
The sk-prefix was from SSNES days (how things linger on ... D:)
2014-01-08 18:24:54 +01:00
meancoot
c786483635
Expand config key map table; have overlay’s use it to look up key names.
2014-01-08 12:16:22 -05:00
Themaister
f57a1aa032
Add support for mapping analogs to D-pad again.
...
Use a cleaner approach which can feasibly work on all platforms.
Uses input_push/pop_analod_dpad to modify the joyaxis field before
polling input. This way, the RetroPad D-pad binds can inherit the
joyaxis fields from ANALOG_LEFT_X_PLUS and friends.
Also add support for the field in RGUI and saves settings.
2014-01-08 17:31:14 +01:00
Themaister
35c485aab0
Reuse bind maps in input_common for overlay.
2014-01-07 17:14:09 +01:00
Themaister
5b4ebb3fa1
Build fix for overlay.
...
Compute keyboard mod state once.
Fix C++ 'new' usage.
2014-01-06 19:42:46 +01:00
Twinaphex
e7cf6d1672
Merge pull request #461 from libretro/kb_overlay
...
Support for keyboard keys on overlays.
2014-01-06 05:51:05 -08:00
Higor Eurípedes
1f8c114641
Use C linkage in frontend.h and input_common.h
2014-01-05 23:28:34 -03:00
twinaphex
54f0fb5319
(Wii) Bump up version
2014-01-04 22:52:26 +01:00
meancoot
f55bac7f7e
(Overlay Keyboard) Use 1 bit per key to store state.
2014-01-02 23:37:18 -05:00
meancoot
1ff9630d74
Add support for mapping keyboard keys to input overlays.
2014-01-02 16:42:28 -05:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
Themaister
0d3428ad15
Add texture_image_free().
...
Cleans up deinit code for textures.
2013-12-31 19:16:29 +01:00
Themaister
132c3c46f7
Use struct texture_image instead of video_overlay_image.
2013-12-31 19:05:16 +01:00
Themaister
43f42b6439
Use correct size with calloc.
2013-12-31 18:55:15 +01:00
Themaister
0e47ad02fe
Saturate analogs based on range and not range mod.
2013-12-31 18:42:49 +01:00
Themaister
e164457c02
Add support for movable overlay elements.
...
Very useful for visual feedback of analog controls.
2013-12-31 17:15:28 +01:00
Toad King
c8677891e1
fix overlay alphas for multiple button presses
2013-12-26 21:39:07 -05:00
Toad King
da75ee5a88
don't update overlay ranges until all events are polled
2013-12-26 20:38:12 -05:00
Themaister
58f8cde980
Fix PC build.
2013-12-24 11:11:25 +01:00
Toad King
d7cacaa9ed
start of porting wii input driver to better support RGUI. still has issues with axises
2013-12-22 19:47:33 -05:00
Themaister
f7a5853154
Fix CXX_BUILD.
2013-12-10 19:42:50 +01:00
Themaister
977cec1378
Refactor keyboard event callbacks.
...
Go through input/keyboard_line.c to better hide internal logic
regarding keyboard line input.
2013-12-10 19:39:09 +01:00
Themaister
4d8c094bdf
Disable TTY input when using udev.
...
Avoids possible commands being entered while playing.
2013-12-09 17:02:23 +01:00
Themaister
d21046ace8
Add keyboard layout support to udev.
...
Adds input_keyboard_layout setting.
2013-12-08 16:05:05 +01:00
Themaister
3a8608fb70
Handle key_event in udev.
...
Use libxkbcommon for this.
2013-12-08 01:09:00 +01:00
Themaister
0bd31ef6d4
Handle touch events properly.
2013-12-07 22:16:19 +01:00
Themaister
67a3415dcf
Start implementing touchpad.
2013-12-07 22:09:08 +01:00
Themaister
6e40916d0a
Implement hotplugging for input devices as well.
2013-12-07 17:12:25 +01:00
Themaister
2b04f50b23
Use epoll to support multiple input devices.
2013-12-07 16:11:51 +01:00
Themaister
f4d79eaf0e
Fix minor crash and mouse.
2013-12-07 14:16:17 +01:00
Themaister
c21310b261
Start adding udev input driver.
2013-12-07 14:13:40 +01:00
Themaister
61d66b7f19
Make udev joypad driver default over linuxraw.
...
Udev supports rumble and should be the default.
2013-12-05 10:09:41 +01:00
twinaphex
a7b34ec794
(Android) Implement all back behaviors
2013-11-26 13:41:33 +01:00
Themaister
acc8600b0a
Keyboard takes prio over joysticks for ANALOG.
...
Joysticks don't have to rest at 0 so they never allow keyboard to be checked properly.
2013-11-09 11:02:41 +01:00
Themaister
b20f8670b0
Fix RETRO_DEVICE_ANALOG for keyboard binds.
2013-11-09 01:04:04 +01:00
twinaphex
f8c37fc933
(Menu) Simplify menu preprocessor conditionals - there is now
...
one common catch-all define called HAVE_MENU
2013-11-08 04:36:47 +01:00
OV2
46345b0ddd
win32: add win8 pointer support
2013-11-05 21:23:32 +01:00
Themaister
6b37d11e69
Fix potential memleaks in linuxraw.
2013-11-03 11:44:12 +01:00
twinaphex
c0e02d3957
(Android/General) Add preliminary sensor support to libretro API /
...
add accelerometer support to Android input driver
2013-11-03 00:27:58 +01:00
twinaphex
dcb6a13031
(DInput) Build fix
2013-11-02 23:36:06 +01:00
twinaphex
3e8166bfa5
(Input) Add new function to input driver - get_capabilities
2013-11-02 21:16:57 +01:00
Themaister
cfe4df005d
Fix some minor logging regression.
2013-10-26 00:26:31 +02:00
Themaister
a91dbdaabc
Fix udev autoconf regression.
...
Stupid C89 for loops ...
2013-10-25 22:28:34 +02:00
Themaister
7aa8b40759
Fixup C89 for loops.
2013-10-22 21:37:56 +02:00
twinaphex
d2c87e3039
Convert most C99-style for loop initial declarations to C89-compliant
...
ones
2013-10-22 15:08:17 +02:00
Themaister
b17d113ac4
Fix overlay calculations with rect.
2013-10-21 14:27:38 +02:00
Themaister
089270a5b6
Add range_mod.
2013-10-21 12:42:47 +02:00
Themaister
6073b5d62e
Add alpha_mod support.
...
Change alpha per object if pressed.
2013-10-16 18:27:14 +02:00
Themaister
0a55ef6b53
Start adding loading of alternative descs.
2013-10-16 17:00:45 +02:00
Themaister
76c92bb0b4
Rework overlay driver interface.
...
Takes multiple images, each with individual positions, textures, etc.
2013-10-15 16:06:59 +02:00
twinaphex
abb829283b
Take out messy Dpad emulation code - this will require an entire
...
rewrite where we come up with a solution that works the same across
console/PC/mobile
2013-10-05 20:55:37 +00:00
ToadKing
dcde156630
don't redefine rarch_joypad_driver_t typedef
2013-10-03 23:32:03 -04:00
Themaister
fe8b6c3c0f
Update udev rumble strength atomically.
2013-10-03 15:10:29 +02:00
Themaister
623ff98b8a
[udev] Don't log autoconfig on reinit.
2013-10-03 15:10:22 +02:00
Themaister
2bd065e359
Move TURBO key below analogs.
...
Avoid having it show up in menu.
2013-09-30 19:40:41 +02:00
Themaister
6fe01e3fcf
Remove an arbitrary hardcoded pad.
...
Input config RGUI should avoid having to rely too much on autoconfigs.
Keep Xinput pad autoconfig however, as its convenience is worth quite a lot.
2013-09-30 18:45:04 +02:00
Themaister
7229142e57
Display current keybind in RGUI.
2013-09-30 18:27:35 +02:00
Themaister
02cd05550e
Reuse input_config_bind_map.
2013-09-30 18:08:47 +02:00
Themaister
8cb77fa915
Add get_joypad_driver to more input drivers.
2013-09-29 20:52:51 +02:00
Themaister
4f2de6d578
Add RGUI menu toggle config.
2013-09-29 20:40:04 +02:00
Themaister
dad5e347d8
Start adding joypad config.
2013-09-29 17:58:46 +02:00
pinumbernumber
84d36fee7d
add yet another third-party pad to xinput detection
2013-09-28 12:16:54 +01:00
Themaister
f2c1a06aa9
Use overlapping writes to rumble.
2013-09-27 18:37:44 +02:00
Themaister
3f82743d06
Fix linebreak encoding in winxinput.
2013-09-26 15:14:23 +02:00
Themaister
cb6d1ce7b8
Build fix.
2013-09-26 15:12:39 +02:00
Hans-Kristian Arntzen
54d0fabbd7
Merge pull request #310 from pinumbernumber/master
...
Add rumble support to XInput driver
2013-09-26 06:14:17 -07:00
pinumbernumber
061df5c878
tweak xinput rumble
2013-09-26 14:12:58 +01:00
Themaister
0314a57577
Don't install 0-strength rumble effects.
2013-09-26 14:20:54 +02:00
Themaister
9131e3819e
Don't rumble if strength == 0.
2013-09-26 14:18:07 +02:00
pinumbernumber
44076bdde0
Add rumble support to XInput driver
2013-09-26 12:44:52 +01:00
Themaister
c7db4aff64
Support variable strength for rumble motors.
2013-09-26 12:55:05 +02:00
Themaister
0415ccf97e
Fixes to force feedback.
2013-09-26 11:20:13 +02:00
Themaister
3a2e3ce277
Minor tweaks.
2013-09-26 00:49:13 +02:00
Themaister
65fb094f30
Small cleanups.
2013-09-26 00:10:02 +02:00
Themaister
8b1ac3bc9e
Add rumble tests to libretro-test.
2013-09-25 23:58:02 +02:00
Themaister
a01ef18f80
Add RETRO_ENVIRONMENT_GET_RUMBLE_INTERFACE.
2013-09-25 23:21:32 +02:00
Themaister
7855781cd8
Hook up rumble interfaces to input drivers.
2013-09-25 22:59:05 +02:00
Themaister
89fff9d790
Add force feedback.
2013-09-25 22:40:34 +02:00
Themaister
b916c5ace1
More fixups in udev joypads.
2013-09-25 21:41:47 +02:00
Themaister
e5d0b09df5
Start adding Linux Udev joypad input.
2013-09-25 19:32:18 +02:00
Themaister
1ea1f723b4
Clarify error message a bit.
2013-09-11 17:12:55 +02:00
Themaister
bcac9ded78
DInput/XInput fixups.
...
- Fix DInput if XInput failed to load and you're using an XInput device.
- Try to load XInput 1.4 first. It's installed by default on Win8.
- Don't bother checking "system directory" explicitly, it already does.
2013-09-11 17:06:06 +02:00
Hans-Kristian Arntzen
7d90ff4011
Merge pull request #303 from libretro/emscripten
...
Emscripten/Javascript port
2013-09-11 01:01:29 -07:00
ToadKing
b874f003ff
[EMSCRIPTEN] undo SDL workarounds no longer needed
2013-09-10 22:02:54 -04:00
ToadKing
a09dda3a9d
[EMSCRIPTEN] add custom input driver, removes SDL dependency + adds mouse support
2013-09-10 20:21:48 -04:00
pinumbernumber
86c4458f35
add madcatz pad
2013-09-07 22:51:23 +01:00
pinumbernumber
914f6fcf33
add more variants of the 360 pad and third-party XI pads
2013-09-07 22:17:31 +01:00
pinumbernumber
de5270a651
Fix support for logitech f310 on windows
2013-09-07 21:40:14 +01:00
pinumbernumber
5d0b435d47
add 360 guide button->menu_toggle autoconf
2013-09-07 14:37:32 +01:00
Themaister
c76fc068dc
Build fix.
2013-09-06 23:25:29 +02:00
Themaister
99dbd6bd1c
Clean up autoconfig stuff a bit, add headers.
2013-09-06 23:24:21 +02:00
Hans-Kristian Arntzen
02528942ac
Merge pull request #299 from pinumbernumber/improve-xinput
...
Add some hardcoded autoconf configs in addition to the file-based system
2013-09-06 14:14:05 -07:00
pinumbernumber
d2472eb8cb
indentation fix
2013-09-06 20:53:26 +01:00
pinumbernumber
50e4dfb57c
Various fixups to the internal autoconf system
2013-09-06 13:46:06 +01:00
meancoot
f1d0a22231
(Analog Overlay) Add a saturate_pct key to descibe the point at which an analog hitbox will return the max analog range
2013-09-05 18:52:17 -04:00
meancoot
149a0f37d0
(Overlay Analog) Coding style fixes
2013-09-05 18:19:07 -04:00
pinumbernumber
8fd84fa46c
Hardcoded joypad config fallbacks, and required changes to config_file
2013-09-05 20:44:00 +01:00
meancoot
21388592ea
(Overlay) Add basic analog support
2013-09-05 11:38:00 -04:00
pinumbernumber
c16d0e54e1
fix xinput (again)- repair multiple pads support
2013-09-02 12:32:59 +01:00
pinumbernumber
0fb0d0e891
coding style corrections
2013-08-29 09:27:13 +01:00
pinumbernumber
37ebdcdec7
Add correct joypad name reporting to RGUI (for xi and di), also cleanup dinput name variables
2013-08-28 21:16:27 +01:00
pinumbernumber
a2d5d20125
tiny XI tweak/fix
2013-08-28 16:08:44 +01:00
pinumbernumber
ee57fe6a95
Merge branch 'xinput-perf-fix' into xinput-autoconf
2013-08-27 20:56:15 +01:00
pinumbernumber
fee0bdd228
more XI/DI tweaking
2013-08-27 20:25:50 +01:00