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