362 Commits

Author SHA1 Message Date
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