Commit Graph

162 Commits

Author SHA1 Message Date
twinaphex
a32c29e5ed (PSP) Refactor input autoconf 2014-06-09 18:57:17 +02:00
twinaphex
0e6d99d2de (XDK) Switch to new autoconf system 2014-06-09 18:17:37 +02:00
Themaister
accc24ac8a Properly init ps3 joypad driver. 2014-06-09 16:03:42 +02:00
Themaister
addba80c3b Rewrite DSP plugin interface. 2014-05-20 12:28:33 +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
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01: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
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
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
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
twinaphex
d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +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
Themaister
2bd065e359 Move TURBO key below analogs.
Avoid having it show up in menu.
2013-09-30 19:40:41 +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
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
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
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
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
Themaister
99dbd6bd1c Clean up autoconfig stuff a bit, add headers. 2013-09-06 23:24:21 +02: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
pinumbernumber
8fd84fa46c Hardcoded joypad config fallbacks, and required changes to config_file 2013-09-05 20:44:00 +01:00
pinumbernumber
333ae68163 more small style tweaks 2013-08-26 12:13:41 +01:00
pinumbernumber
f5454cd446 Initial xinput support, fix msvc build 2013-08-23 13:09:59 +01:00
ToadKing
49398698b5 initial emscripten port (no audio/files, input broken) 2013-07-17 20:26:01 -04: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
a076b14daa Clean up some ifdefs. 2013-04-27 00:14:01 +02:00
Themaister
f06f6e544e Don't spam OSD messages for autoconfigure. 2013-04-26 15:03:09 +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
Themaister
9a96e6a8f3 Rewrite linuxraw-joypad. Add hotplug.
Adds plug-n-play to linuxraw-joypad.
Can plug devices in and out in flight.

linuxraw_joypad is now default joypad API on Linux,
making SDL obsolete.
2013-04-26 00:03:22 +02:00
twinaphex
3a131cf5b8 (PS3) Compile in HAVE_OVERLAY 2013-04-10 04:39:27 +02:00
Themaister
292bc36b43 Basic mouse grabbing for X11. 2013-03-29 18:55:54 +01:00
Themaister
2be53ac0f9 Add MENU_TOGGLE bind config. 2013-03-16 12:21:16 +01:00
Themaister
e3dfba2c34 Add preliminary disk swapping interface.
Works with Mednafen's disk swapping model.
2013-02-21 23:44:07 +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
57d7643b86 Fix compiler warnings. 2012-12-25 19:05:30 +01:00
Themaister
34bd32c1fd Add RETRO_OVERLAY_NEXT bind. 2012-12-22 15:33:28 +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
twinaphex
96f5c78304 (Android) removed bifrost.c - made libretroarch.so now a native
activity
2012-10-14 03:37:08 +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
f5b6ae8e7e Raw Linux joypads work. 2012-09-29 00:27:09 +02:00
Themaister
04e3fe185f Can build without SDL now (only RetroArch). 2012-09-28 23:34:19 +02:00
Themaister
c655c1d4e5 Big refactor of joypad input. 2012-09-28 23:06:16 +02:00