Themaister
c76fc068dc
Build fix.
2013-09-06 23:25:29 +02:00
Themaister
99dbd6bd1c
Clean up autoconfig stuff a bit, add headers.
2013-09-06 23:24:21 +02:00
Hans-Kristian Arntzen
02528942ac
Merge pull request #299 from pinumbernumber/improve-xinput
...
Add some hardcoded autoconf configs in addition to the file-based system
2013-09-06 14:14:05 -07: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
meancoot
f1d0a22231
(Analog Overlay) Add a saturate_pct key to descibe the point at which an analog hitbox will return the max analog range
2013-09-05 18:52:17 -04:00
meancoot
149a0f37d0
(Overlay Analog) Coding style fixes
2013-09-05 18:19:07 -04:00
pinumbernumber
8fd84fa46c
Hardcoded joypad config fallbacks, and required changes to config_file
2013-09-05 20:44:00 +01:00
meancoot
21388592ea
(Overlay) Add basic analog support
2013-09-05 11:38:00 -04:00
pinumbernumber
c16d0e54e1
fix xinput (again)- repair multiple pads support
2013-09-02 12:32:59 +01:00
pinumbernumber
0fb0d0e891
coding style corrections
2013-08-29 09:27:13 +01:00
pinumbernumber
37ebdcdec7
Add correct joypad name reporting to RGUI (for xi and di), also cleanup dinput name variables
2013-08-28 21:16:27 +01:00
pinumbernumber
a2d5d20125
tiny XI tweak/fix
2013-08-28 16:08:44 +01:00
pinumbernumber
ee57fe6a95
Merge branch 'xinput-perf-fix' into xinput-autoconf
2013-08-27 20:56:15 +01:00
pinumbernumber
fee0bdd228
more XI/DI tweaking
2013-08-27 20:25:50 +01:00
pinumbernumber
dca8dd0f3b
fix XInput performance bug
2013-08-27 19:28:34 +01:00
pinumbernumber
2b6907e0ab
fix C++ (MSVC) build
2013-08-27 19:26:01 +01:00
pinumbernumber
6bed0cfa65
More small adjustments to joypad drivers
2013-08-27 14:38:20 +01:00
pinumbernumber
905e767983
Add autoconfig support to xinput and dinput
2013-08-27 12:14:56 +01:00
pinumbernumber
d5eea1e575
fixed attribution
2013-08-26 15:37:01 +01:00
pinumbernumber
333ae68163
more small style tweaks
2013-08-26 12:13:41 +01:00
pinumbernumber
ef8a86e794
more win32 typedef removal
2013-08-25 18:57:23 +01:00
pinumbernumber
f3de828444
Eradicated some win32 macros/typedefs
2013-08-25 18:54:20 +01:00
pinumbernumber
3370684a06
Improved XInput support, misc tweaks
2013-08-25 17:17:23 +01:00
pinumbernumber
f5454cd446
Initial xinput support, fix msvc build
2013-08-23 13:09:59 +01:00
ToadKing
f4ff5f3ea3
[EMSCRIPTEN] less workarounds due to fixes in emscripten, enable more optimizations
2013-08-18 02:50:10 -04:00
ToadKing
9486d8154c
fix input
2013-07-17 22:06:52 -04:00
ToadKing
49398698b5
initial emscripten port (no audio/files, input broken)
2013-07-17 20:26:01 -04:00
Themaister
e215033edd
Fix CXX_BUILD.
2013-06-05 10:47:19 +02:00
Themaister
1895cca5d9
Fix overlay input hitbox with scaling.
2013-05-18 00:18:24 +02: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
3417097484
Fix Win32 build.
2013-04-26 15:10:52 +02:00
Themaister
40d8a42886
De-autoconfig lost drivers on reinit.
2013-04-26 15:08:18 +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
0653a8b5c2
Push to msg_queue when device is hotplugged.
2013-04-26 00:43:14 +02:00
Themaister
66a1c01419
Make device name show up in RGUI.
2013-04-26 00:22:12 +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
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
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