Commit Graph

37 Commits

Author SHA1 Message Date
Themaister
accc24ac8a Properly init ps3 joypad driver. 2014-06-09 16:03:42 +02: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
Higor Eurípedes
1f8c114641 Use C linkage in frontend.h and input_common.h 2014-01-05 23:28:34 -03:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
Themaister
c21310b261 Start adding udev input driver. 2013-12-07 14:13:40 +01:00
twinaphex
a7b34ec794 (Android) Implement all back behaviors 2013-11-26 13:41:33 +01:00
ToadKing
dcde156630 don't redefine rarch_joypad_driver_t typedef 2013-10-03 23:32:03 -04: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
4f2de6d578 Add RGUI menu toggle config. 2013-09-29 20:40:04 +02:00
Themaister
c7db4aff64 Support variable strength for rumble motors. 2013-09-26 12:55:05 +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
e5d0b09df5 Start adding Linux Udev joypad input. 2013-09-25 19:32:18 +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
a09dda3a9d [EMSCRIPTEN] add custom input driver, removes SDL dependency + adds mouse support 2013-09-10 20:21:48 -04:00
pinumbernumber
8fd84fa46c Hardcoded joypad config fallbacks, and required changes to config_file 2013-09-05 20:44:00 +01:00
pinumbernumber
f5454cd446 Initial xinput support, fix msvc build 2013-08-23 13:09:59 +01:00
Themaister
b323640d7c Make joypad driver configurable. 2013-05-04 10:24:15 +02:00
Themaister
dfdcfac588 Add concept of meta "level" for hotkeys.
Used by retroarch-joyconfig to make misc key config easier.
2013-04-29 21:11:29 +02:00
Themaister
cca7fce89c Add joypad autoconfig support. 2013-04-26 14:48:48 +02:00
Themaister
0ac849d825 Let retroarch-joyconfig write autoconfigs. 2013-04-26 13:25:40 +02:00
Themaister
42a9e46cb2 Input config refactor.
Move LUTs to input_common.c. Make LUTs public.
2013-04-26 11:44:54 +02:00
twinaphex
3a131cf5b8 (PS3) Compile in HAVE_OVERLAY 2013-04-10 04:39:27 +02:00
twinaphex
6899434609 (Android) Add back button behavior option 2013-03-07 15:21:17 +01:00
Themaister
312980ee30 Add support for full-screen overlays. 2013-01-11 16:23:04 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister
023443e1aa Initial overlay config work. 2012-12-22 13:40:15 +01:00
Themaister
5185524b46 Use common code for handling keysym translations. 2012-12-08 13:26:10 +01:00
Themaister
1908a81e1c Add RETRO_DEVICE_POINTER.
Implemented only for X11 so far.

Also clears up viewport_size call.
Changed to viewport_info to also grab X/Y info.
2012-10-28 00:38:31 +02:00
Themaister
d40cd53e24 Rewrite retroarch-joyconfig.
Rewrites a large chunk of retroarch-joyconfig to work with "any" joypad
driver. This allows e.g. the tool to work without X. SDL event pumps
require X to work (for some reason).
2012-09-29 21:57:03 +02:00
Themaister
c655c1d4e5 Big refactor of joypad input. 2012-09-28 23:06:16 +02:00
Themaister
192ca096c9 Refactor out input_conv_analog* 2012-09-22 09:57:04 +02:00