Commit Graph

707 Commits

Author SHA1 Message Date
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