Commit Graph

168 Commits

Author SHA1 Message Date
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
Toad King
ed14c8c6b8 misc. fixes
add ctrl+c handler to linuxraw_input
2012-06-19 14:49:38 -04:00
Toad King
3e1b621e7a signal -> sigaction 2012-06-19 14:14:00 -04:00
Toad King
0337e4fc0f move SIGINT and SIGTERM handlers to video driver 2012-06-19 13:40:49 -04:00
Toad King
55b7267694 tabs -> 3 spaces 2012-06-19 12:44:10 -04:00
Toad King
9a35040fe6 try to restore keyboard mode on program crashes
use keycode defines instead of numbers
2012-06-19 12:42:08 -04:00
Toad King
0ca21ef321 ignore extended scancodes 2012-06-16 03:58:21 -04:00
Toad King
ec87f858f2 Merge branch 'master' of http://github.com/Themaister/RetroArch
Conflicts:
	qb/config.libs.sh
2012-05-28 02:27:25 -04:00
Twinaphex
1386e2ee90 Restructuring of sdlwrap.c for portability reasons -
could need a code review
2012-05-26 04:47:24 +02:00
Toad King
6c79d66e1b linuxraw input: gets input straight from stdin
WARNING: this mode uses a raw keyboard mode. if the emulator does not exit cleanly, you could be left at a terminal with no form of input. do not use this mode for testing.
2012-05-25 15:44:39 -04:00
Themaister
37bb784e70 Move ssnes_dinput. 2012-04-22 12:15:51 +02:00
Themaister
ce740f8948 More fixups. 2012-04-21 23:31:57 +02:00
Themaister
aab8fb6151 ssnes_* => rarch_*. 2012-04-21 23:25:32 +02:00
Themaister
9ab51ad23a SSNES => RetroArch. 2012-04-21 23:17:43 +02:00
Themaister
186ea8898b Add LIGHTGUN_START. 2012-04-15 17:08:43 +02:00
Themaister
16d123dfab Fix home/end/pgup/pgdown keys. 2012-04-11 18:56:21 +02:00
Themaister
ba2e913908 Use unsigned port. 2012-04-09 22:05:26 +02:00
Themaister
e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +02:00
Themaister
5d51942f69 libretro fixups. 2012-04-09 22:04:43 +02:00
Themaister
62c96ea937 Change license header. 2012-04-09 22:03:57 +02:00
Themaister
9698cd7dbd Change headers. 2012-04-09 22:03:57 +02:00
Themaister
35a9123bf8 Fix build on Mingw CXX_BUILD. 2012-03-30 19:15:18 +02:00
Twinaphex
db6b9ba4a3 (SSNES_CONSOLE) Merged input_luts.c with console_ext.c 2012-03-25 01:56:27 +01:00
Twinaphex
e0295a726a (PS3) Merged Cellframework2 pad_input.c with ps3_input.c from SSNES 2012-03-19 02:55:13 +01:00
Themaister
9ab02b12be Move compat functionality to compat/. 2012-03-16 23:26:57 +01:00
TwinAphex51224
dd9f4be2aa (Wii) Some work on Wii port - included szlib.c - moved input-related
function over to input_luts.c
2012-03-12 22:40:04 +01:00
TwinAphex51224
81988fc1ef (360) Don't include D3D/Netcode where not needed through NOD3D/
NONET defines
2012-03-11 16:17:42 +01:00
Themaister
6b552cfba1 Revert derp. 2012-03-09 18:20:03 +01:00
Themaister
848a67252f Fix subtle regression. 2012-03-09 18:18:35 +01:00
Themaister
ca0986064d Micronit (pt. 2). 2012-03-06 23:50:44 +01:00
TwinAphex51224
f7c2bfe530 (PS3) Libsnes ports can now set per-system default keybind names 2012-03-06 16:06:47 +01:00
TwinAphex51224
3239edccb9 (360) Add keybind LUTs for 360 too 2012-03-06 12:59:40 +01:00
TwinAphex51224
fe0da105b5 (PS3) Add ssnes_ * to LUTs 2012-03-05 23:40:40 +01:00
Themaister
4c361bc648 Nit. 2012-03-05 23:48:14 +01:00
TwinAphex51224
9d17ccf4f3 (PS3) Ping pong commit to get everything working again 2012-03-05 23:32:51 +01:00
Themaister
25a97b1d8c Refactor. 2012-03-05 23:32:38 +01:00
TwinAphex51224
cd9dd6511d (PS3) Input can now be reconfigured 2012-03-05 23:01:26 +01:00
TwinAphex51224
7e1e293547 (PS3) Input changes 2012-03-05 21:30:28 +01:00
Themaister
4bd53c0b96 Properly extern. 2012-03-05 19:49:19 +01:00
Themaister
47f95020f0 Style nits. 2012-03-05 18:01:27 +01:00
TwinAphex51224
e4506d5a3e (PS3) Keybind name LUT 2012-03-05 17:33:41 +01:00
TwinAphex51224
f453ee7954 (PS3) Input LUTs 2012-03-05 16:57:43 +01:00
Themaister
aac2533075 Streamline hat lookup. 2012-02-18 12:32:49 +01:00
Themaister
947d2a3514 Fixed joypad index lookup. 2012-02-18 12:09:20 +01:00
Themaister
3fd630e062 Log anatomy of input device. 2012-02-18 11:59:55 +01:00
Themaister
3bda32d6f1 Add SET_VARIABLES interface. 2012-02-06 16:13:29 +01:00
Themaister
08686bcd06 Debork input some more ... 2012-01-30 01:45:18 +01:00
Themaister
5b0a948797 Refactor input config. 2012-01-30 01:20:35 +01:00
Themaister
b4248038fb Update license headers. 2012-01-08 01:12:05 +01:00
Themaister
eac468ba19 MSVC compat. 2011-12-25 01:38:59 +01:00
Themaister
d5fca50a2f Can build for C++. 2011-12-24 15:26:01 +01:00
Themaister
a5b3f421d1 Fix include paths for libsnes header. 2011-11-30 17:32:30 +01:00
Themaister
0f010cf3d2 Fix style nits. 2011-11-02 19:31:36 +01:00
Themaister
953b5daf0a Pause hooked up. 2011-10-16 02:00:55 +02:00
Themaister
642316a1e2 Somewhat haphazard. Can't find some needed API calls :\ 2011-09-13 18:50:40 +02:00
Themaister
87d34deb0c Can build with SDL 1.3 on Win32. 2011-09-13 14:57:42 +02:00
Themaister
23516572b7 Use SK_* keysyms (pretty much SDL 1.2). 2011-09-13 14:40:33 +02:00
Themaister
924848fdad Start working towards SDL 1.2/1.3 compat. 2011-09-13 14:06:49 +02:00
Themaister
5cb2863e6e Fix up Win64 warnings/errors. 2011-08-19 13:33:10 +02:00
Themaister
f79eafe449 Should perhaps continue if one joypad failed. 2011-06-12 10:42:42 +02:00
Themaister
111b159373 Should fix dinput. 2011-06-12 10:37:04 +02:00
Themaister
d744167865 Small cleanup. 2011-06-11 22:46:51 +02:00
Themaister
99a1784aaf Move window logic away from SDL input.
We weren't using the event loop anyways ...
2011-06-11 12:54:14 +02:00
Themaister
b6ff98cf18 Should fix DInput crash. 2011-06-10 18:01:44 +02:00
Themaister
2dcccc7cda Fix some includes and stuff. 2011-06-10 17:55:40 +02:00
Themaister
d03855c655 Add some sanity logging. 2011-06-10 17:47:16 +02:00
Themaister
69227bc1ca Alter design. Use DInput as piggyback only. 2011-06-10 17:34:04 +02:00
Themaister
851debf1e4 Start working on DInput. 2011-06-10 16:55:05 +02:00
Themaister
5f5013871a Should fix tilde/grave key. 2011-05-17 18:52:00 +02:00
Themaister
21b046cdd1 Add more binds to X11 input. 2011-05-15 15:54:46 +02:00
Themaister
703cfadf63 Fix up X input. 2011-03-13 12:02:06 +01:00
Themaister
adfd461c3e Start on XVideo 2011-03-13 04:51:09 +01:00
Themaister
bb79dbaa98 Getting ready for an eventual XVideo driver. 2011-03-13 00:44:49 +01:00
Themaister
93202f191c Add pausing when window loses focus :p 2011-02-05 21:45:44 +01:00