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