Themaister
af7fb86427
Fallback if mouse or keyboard interface is not working.
...
Problems with tablets on Windows.
2014-01-15 17:35:23 +01:00
Themaister
2c60dfb8cf
Add some more error logging to dinput.
2014-01-11 18:11:00 +01: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
Themaister
5b4ebb3fa1
Build fix for overlay.
...
Compute keyboard mod state once.
Fix C++ 'new' usage.
2014-01-06 19:42:46 +01:00
Twinaphex
e7cf6d1672
Merge pull request #461 from libretro/kb_overlay
...
Support for keyboard keys on overlays.
2014-01-06 05:51:05 -08:00
Higor Eurípedes
1f8c114641
Use C linkage in frontend.h and input_common.h
2014-01-05 23:28:34 -03:00
twinaphex
54f0fb5319
(Wii) Bump up version
2014-01-04 22:52:26 +01:00
meancoot
f55bac7f7e
(Overlay Keyboard) Use 1 bit per key to store state.
2014-01-02 23:37:18 -05:00
meancoot
1ff9630d74
Add support for mapping keyboard keys to input overlays.
2014-01-02 16:42:28 -05:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
Themaister
0d3428ad15
Add texture_image_free().
...
Cleans up deinit code for textures.
2013-12-31 19:16:29 +01:00
Themaister
132c3c46f7
Use struct texture_image instead of video_overlay_image.
2013-12-31 19:05:16 +01:00
Themaister
43f42b6439
Use correct size with calloc.
2013-12-31 18:55:15 +01:00
Themaister
0e47ad02fe
Saturate analogs based on range and not range mod.
2013-12-31 18:42:49 +01:00
Themaister
e164457c02
Add support for movable overlay elements.
...
Very useful for visual feedback of analog controls.
2013-12-31 17:15:28 +01:00
Toad King
c8677891e1
fix overlay alphas for multiple button presses
2013-12-26 21:39:07 -05:00
Toad King
da75ee5a88
don't update overlay ranges until all events are polled
2013-12-26 20:38:12 -05: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
f7a5853154
Fix CXX_BUILD.
2013-12-10 19:42:50 +01: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
4d8c094bdf
Disable TTY input when using udev.
...
Avoids possible commands being entered while playing.
2013-12-09 17:02:23 +01:00
Themaister
d21046ace8
Add keyboard layout support to udev.
...
Adds input_keyboard_layout setting.
2013-12-08 16:05:05 +01:00
Themaister
3a8608fb70
Handle key_event in udev.
...
Use libxkbcommon for this.
2013-12-08 01:09:00 +01:00
Themaister
0bd31ef6d4
Handle touch events properly.
2013-12-07 22:16:19 +01:00
Themaister
67a3415dcf
Start implementing touchpad.
2013-12-07 22:09:08 +01:00
Themaister
6e40916d0a
Implement hotplugging for input devices as well.
2013-12-07 17:12:25 +01:00
Themaister
2b04f50b23
Use epoll to support multiple input devices.
2013-12-07 16:11:51 +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
a7b34ec794
(Android) Implement all back behaviors
2013-11-26 13:41:33 +01:00
Themaister
acc8600b0a
Keyboard takes prio over joysticks for ANALOG.
...
Joysticks don't have to rest at 0 so they never allow keyboard to be checked properly.
2013-11-09 11:02:41 +01:00
Themaister
b20f8670b0
Fix RETRO_DEVICE_ANALOG for keyboard binds.
2013-11-09 01:04:04 +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
OV2
46345b0ddd
win32: add win8 pointer support
2013-11-05 21:23:32 +01:00
Themaister
6b37d11e69
Fix potential memleaks in linuxraw.
2013-11-03 11:44:12 +01:00
twinaphex
c0e02d3957
(Android/General) Add preliminary sensor support to libretro API /
...
add accelerometer support to Android input driver
2013-11-03 00:27:58 +01:00
twinaphex
dcb6a13031
(DInput) Build fix
2013-11-02 23:36:06 +01:00
twinaphex
3e8166bfa5
(Input) Add new function to input driver - get_capabilities
2013-11-02 21:16:57 +01:00
Themaister
cfe4df005d
Fix some minor logging regression.
2013-10-26 00:26:31 +02:00
Themaister
a91dbdaabc
Fix udev autoconf regression.
...
Stupid C89 for loops ...
2013-10-25 22:28:34 +02:00
Themaister
7aa8b40759
Fixup C89 for loops.
2013-10-22 21:37:56 +02:00
twinaphex
d2c87e3039
Convert most C99-style for loop initial declarations to C89-compliant
...
ones
2013-10-22 15:08:17 +02:00
Themaister
b17d113ac4
Fix overlay calculations with rect.
2013-10-21 14:27:38 +02:00
Themaister
089270a5b6
Add range_mod.
2013-10-21 12:42:47 +02:00
Themaister
6073b5d62e
Add alpha_mod support.
...
Change alpha per object if pressed.
2013-10-16 18:27:14 +02:00
Themaister
0a55ef6b53
Start adding loading of alternative descs.
2013-10-16 17:00:45 +02:00
Themaister
76c92bb0b4
Rework overlay driver interface.
...
Takes multiple images, each with individual positions, textures, etc.
2013-10-15 16:06:59 +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
ToadKing
dcde156630
don't redefine rarch_joypad_driver_t typedef
2013-10-03 23:32:03 -04:00
Themaister
fe8b6c3c0f
Update udev rumble strength atomically.
2013-10-03 15:10:29 +02:00
Themaister
623ff98b8a
[udev] Don't log autoconfig on reinit.
2013-10-03 15:10:22 +02:00
Themaister
2bd065e359
Move TURBO key below analogs.
...
Avoid having it show up in menu.
2013-09-30 19:40:41 +02:00
Themaister
6fe01e3fcf
Remove an arbitrary hardcoded pad.
...
Input config RGUI should avoid having to rely too much on autoconfigs.
Keep Xinput pad autoconfig however, as its convenience is worth quite a lot.
2013-09-30 18:45:04 +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
8cb77fa915
Add get_joypad_driver to more input drivers.
2013-09-29 20:52:51 +02:00
Themaister
4f2de6d578
Add RGUI menu toggle config.
2013-09-29 20:40:04 +02:00
Themaister
dad5e347d8
Start adding joypad config.
2013-09-29 17:58:46 +02:00
pinumbernumber
84d36fee7d
add yet another third-party pad to xinput detection
2013-09-28 12:16:54 +01:00
Themaister
f2c1a06aa9
Use overlapping writes to rumble.
2013-09-27 18:37:44 +02:00
Themaister
3f82743d06
Fix linebreak encoding in winxinput.
2013-09-26 15:14:23 +02:00
Themaister
cb6d1ce7b8
Build fix.
2013-09-26 15:12:39 +02:00
Hans-Kristian Arntzen
54d0fabbd7
Merge pull request #310 from pinumbernumber/master
...
Add rumble support to XInput driver
2013-09-26 06:14:17 -07:00
pinumbernumber
061df5c878
tweak xinput rumble
2013-09-26 14:12:58 +01:00
Themaister
0314a57577
Don't install 0-strength rumble effects.
2013-09-26 14:20:54 +02:00
Themaister
9131e3819e
Don't rumble if strength == 0.
2013-09-26 14:18:07 +02:00
pinumbernumber
44076bdde0
Add rumble support to XInput driver
2013-09-26 12:44:52 +01:00
Themaister
c7db4aff64
Support variable strength for rumble motors.
2013-09-26 12:55:05 +02:00
Themaister
0415ccf97e
Fixes to force feedback.
2013-09-26 11:20:13 +02:00
Themaister
3a2e3ce277
Minor tweaks.
2013-09-26 00:49:13 +02:00
Themaister
65fb094f30
Small cleanups.
2013-09-26 00:10:02 +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
89fff9d790
Add force feedback.
2013-09-25 22:40:34 +02:00
Themaister
b916c5ace1
More fixups in udev joypads.
2013-09-25 21:41:47 +02:00
Themaister
e5d0b09df5
Start adding Linux Udev joypad input.
2013-09-25 19:32:18 +02:00
Themaister
1ea1f723b4
Clarify error message a bit.
2013-09-11 17:12:55 +02:00
Themaister
bcac9ded78
DInput/XInput fixups.
...
- Fix DInput if XInput failed to load and you're using an XInput device.
- Try to load XInput 1.4 first. It's installed by default on Win8.
- Don't bother checking "system directory" explicitly, it already does.
2013-09-11 17:06:06 +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
pinumbernumber
86c4458f35
add madcatz pad
2013-09-07 22:51:23 +01:00
pinumbernumber
914f6fcf33
add more variants of the 360 pad and third-party XI pads
2013-09-07 22:17:31 +01:00
pinumbernumber
de5270a651
Fix support for logitech f310 on windows
2013-09-07 21:40:14 +01:00
pinumbernumber
5d0b435d47
add 360 guide button->menu_toggle autoconf
2013-09-07 14:37:32 +01:00
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
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