Commit Graph

241 Commits

Author SHA1 Message Date
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
Themaister f1e3cb3b58 Fix compiler warning. 2013-04-20 09:01:38 +02:00
twinaphex 3a131cf5b8 (PS3) Compile in HAVE_OVERLAY 2013-04-10 04:39:27 +02:00
Themaister 2dc4af52dc Use FOREGROUND for mouse. 2013-04-04 22:56:52 +02:00
Themaister a910ada8a2 Add mouse grab to dinput. 2013-04-04 22:35:05 +02:00
Themaister d59d72fe49 Don't warp pointer unless needed. 2013-03-29 19:30:09 +01:00
Themaister 7f25a608f4 Only grab mouse when there is input focus. 2013-03-29 19:04:26 +01: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 d2665f8807 Fix dinput cb struct. 2013-03-15 10:43:42 +01:00
twinaphex ede829c354 Refactor set_default_keybinds callback into set_keybinds - remove
set_analog_dpad_mapping and have it go through set_keybinds - expand
functionality of set_keybinds
2013-03-14 02:24:57 +01:00
twinaphex 4fa8d0f3c6 (Android) Rewritten input_autodetect- now implements set_default_keybinds 2013-03-13 23:17:33 +01:00
twinaphex d7130d58f6 Move set_default_keybinds upstream (no longer ifdeffed RARCH_CONSOLE) 2013-03-13 16:33:39 +01:00
twinaphex ece717f2cc Rename set_default_keybind_lut to set_default_keybinds 2013-03-13 16:30:01 +01:00
twinaphex 545911d4da (Input) Remove post_init and make it part of input_init 2013-03-13 00:34:46 +01:00
Themaister 272ef70895 Merge branch 'master' into cd-swap 2013-03-09 09:27:14 +01:00
twinaphex 6899434609 (Android) Add back button behavior option 2013-03-07 15:21:17 +01:00
Themaister 5c53c053e2 Plain overlay_next should always go to next. 2013-02-24 12:52:48 +01:00
Themaister c2f2377f7b Merge branch 'master' into cd-swap 2013-02-23 23:15:53 +01:00
Themaister c9e6f15861 Add out-of-order overlays. 2013-02-23 22:57:39 +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 041bfecf21 Avoid "double-tapping" overlay on overlay_next. 2013-02-17 15:00:38 +01:00
Themaister bdabb39eb6 Add more verbose error logging to overlay. 2013-02-17 01:04:04 +01:00
Themaister 7d2e5515af Allow scaling of overlays. 2013-02-03 23:36:27 +01:00
ToadKing 7967086058 (Android) set opacity overlay 2013-02-01 20:29:42 -05:00
Themaister f74467c81b Set alpha default more explicitly. 2013-01-29 21:53:03 +01:00
Themaister eb979732b4 Add alpha modulation to overlays. 2013-01-29 21:51:15 +01:00
Themaister 79dd7f79d7 Fix build for Win32. 2013-01-11 16:44:58 +01:00
Themaister 8f9e65b5a7 Allow triggering multiple buttons with one desc. 2013-01-11 16:43:12 +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 7458f7888f Set up multitouch querying. 2012-12-27 12:26:13 +01:00
Themaister 57d7643b86 Fix compiler warnings. 2012-12-25 19:05:30 +01:00
Themaister 1f9caf554c Allow custom geometry of overlay. 2012-12-22 16:09:15 +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 ca9f081d27 Make input overlay configurable. 2012-12-20 20:23:53 +01:00
Themaister cc2e4015b5 Allow enable/disable overlay. 2012-12-20 15:37:04 +01:00
Themaister 47a98ef205 Make overlay polling completely independent. 2012-12-20 15:33:54 +01:00
Themaister 45f808d00c Change hardcoded path. 2012-12-20 12:54:54 +01:00
Themaister d5b294c894 Update coords for basic overlay.
Sort of usable now.
2012-12-20 12:47:18 +01:00
Themaister 1250fae7f1 Basic overlay POC works.
Add support for X11.
2012-12-20 12:24:49 +01:00
Themaister 46ae26211f Fix Mingw build. 2012-12-19 21:27:27 +01:00
OV2 369615f808 win32: fix msvc build 2012-12-19 21:18:38 +01:00
Themaister 5185524b46 Use common code for handling keysym translations. 2012-12-08 13:26:10 +01:00
twinaphex 966cc93b5e Refactor of driver function hooks 2012-11-27 00:50:56 +01:00
Themaister 0e729bcaa0 Style nits. 2012-11-15 09:40:31 +01:00
OV2 54d39dff74 win32: make d3d9 compile in msvc, add linker pragmas to source files 2012-11-14 21:07:06 +01:00
Themaister f3b2c8748a Add RETRO_DEVICE_POINTER support to SDL/Xv. 2012-10-28 11:04:07 +01:00
Themaister dc8f55c303 Add mouse support to DInput. 2012-10-28 10:42:20 +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 6fd1940741 Fix screensaver appearing in fullscreen. 2012-10-13 19:53:04 +02:00
Themaister 9208663c53 Add basic Xinerama support to X11. 2012-10-12 19:58:54 +02:00
Themaister 5e70581a5f Return axis values that makes more sense. 2012-09-30 16:11:13 +02:00
Themaister c6c68dfcf1 Don't return bogus if joypad isn't connected. 2012-09-30 15:59:05 +02:00
Themaister dd6d27c108 Add WGL context. 2012-09-30 14:41:58 +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 f8de693eef Use true fullscreen in X/EGL. 2012-09-29 10:47:55 +02:00
Themaister 65fa84d3b7 Make sure to get initial state of joypad. 2012-09-29 09:57:28 +02:00
Themaister 258a29b9b1 Bind to correct joypad button in X11. 2012-09-29 00:34:59 +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
Themaister df32409fb5 Add basic mouse support to X11 input. 2012-09-26 15:27:25 +02:00
Themaister d0e220bbf1 Refactor all GL context handling code. 2012-09-25 01:37:23 +02:00
Themaister ae8ab33e81 Properly be able to reinit KMS. 2012-09-24 00:01:04 +02:00
Themaister 192ca096c9 Refactor out input_conv_analog* 2012-09-22 09:57:04 +02:00
Themaister bd9f8dbd3a Add RETRO_DEVICE_ANALOG to linuxraw. 2012-09-22 01:04:13 +02:00
Themaister 6d2c0cdb17 Only allow keyboard input when in focus int x_input. 2012-09-16 01:27:32 +02:00
Themaister ff60bcb5e5 Add experimental X/EGL support. 2012-09-15 15:17:34 +02:00
Themaister 9fc3c07181 Fallback for RETRO_DEVICE_ANALOG in X11 input. 2012-09-15 11:41:28 +02:00
Themaister a4262fd0d6 Purge SDL_MODERN.
SDL 2.0 differs far more than 1.3 did, and it makes no sense
to support both now.
2012-09-12 23:37:25 +02:00
Themaister 488d2c5a63 Move keysyms to libretro.h.
Should allow RETRO_KEYBOARD to work on GL/SDL/X11 drivers.
2012-07-28 07:39:05 +02:00
Twinaphex e0f4953de8 (RARCH_CONSOLE) Add second param to set_default_keybind_lut (port
is player no)
2012-07-28 02:28:10 +02:00
Themaister 7346d0f959 Suspend screensaver on SDL/GL as well. 2012-07-28 01:55:00 +02:00
Twinaphex b29b04b4b0 (RARCH_CONSOLE) Add 'device' param to set_default_keybind_lut and
set_analog_dpad_mapping
2012-07-28 01:37:15 +02:00
Themaister ba05aa9f8b Place #ifdeffed stuff in null input together. 2012-07-27 16:06:39 +02:00
Twinaphex bf9980d8bc (RARCH_CONSOLE) Control refactor - add post_init and set_analog_to_dpad_mapping
members
2012-07-27 15:46:15 +02:00
Themaister e13b2e1cb5 Cleanup screensaver code. 2012-07-27 15:47:56 +02:00
Themaister ff9820af68 Merge branch 'master' of github.com:Themaister/RetroArch
Conflicts:
	gfx/gfx_common.c
2012-07-27 15:37:10 +02:00
Twinaphex 811abcf612 (RARCH_CONSOLE) Further Input rewrite for console ports 2012-07-25 21:02:01 +02:00
Themaister dd3a1d0df2 Error out in linuxinput if stdin is used for rom loading. 2012-07-25 04:50:47 +02:00
Themaister 38f7673fac Add command functionality to stdin. 2012-07-25 04:50:46 +02:00
twinaphex 14eb5a53cb (360) Move 360 Xinput driver back to 360 dir 2012-07-16 04:24:46 +02:00
twinaphex 57f6a06647 (360) rarch_xinput2 - Turn hardcoded values into bitshifts 2012-07-14 06:30:39 +02:00
twinaphex 6b04a46c59 (Xbox 1) (Broken) controls 2012-07-14 06:15:03 +02:00
twinaphex 5431601083 (360/Xbox 1) Input changes 2012-07-12 02:27:00 +02:00
twinaphex c3d9899dd1 (360/Xbox 1) Split up video/input drivers for systems 2012-07-08 21:42:26 +02:00
twinaphex 80afd6a73f (Xbox 1) Inserted XInput 1 code 2012-07-07 22:10:27 +03:00
twinaphex 0951020196 (360/Xbox 1) Refactor XInput driver with portability in mind 2012-07-07 20:56:46 +03:00
twinaphex 9d5978cb3e (360/Xbox 1) xdk360_video changed 2012-07-07 20:15:06 +03:00
Twinaphex c3d40d0f5a Snes exorcism 2012-07-07 17:19:32 +02:00
Twinaphex 5b8c426b3c (360) Xinput2 driver moved to input/ 2012-07-07 16:20:31 +02:00
Themaister c440c7a50a Add support for RETRO_DEVICE_ANALOG. 2012-06-28 18:32:06 +02:00
Toad King ea806a6203 Merge branch 'master' of http://github.com/Themaister/RetroArch 2012-06-22 21:11:44 -04:00
Themaister 084bdcef97 Style nitting. 2012-06-22 19:17:28 +02:00
Themaister acda9dea35 Forgot to commit null drivers ... 2012-06-20 00:44:40 +02:00
Toad King 91e7855bd6 only detect CTRL+C for SIGINT, not C+CTRL 2012-06-19 15:26:09 -04:00
Toad King c5a2fbc6e6 EOL fixes 2012-06-19 15:01:34 -04:00