Commit Graph

84 Commits

Author SHA1 Message Date
twinaphex dbe414e1e1 move input_poll_overlay to input_driver.c 2021-09-30 21:29:35 +02:00
twinaphex 6c79cebc6e Move input_overlay_auto_rotate_ out of retroarch.c and into
input_driver.c
2021-09-09 14:24:42 +02:00
twinaphex 276b4fd72c Move more code over from retroarch.c to input_driver.c 2021-09-07 13:08:31 +02:00
twinaphex 67defbcf26 Transfer code over from retroarch.c to input_driver.c 2021-09-07 12:42:03 +02:00
jdgleaver 8e54b4cec9 (Show Inputs on Overlay) DISABLE_MENU=1 buildfix + Qt settings update 2021-05-26 18:15:23 +01:00
Jonathan 5c6cd1b48a
Add scaling to pointer input (#12213)
So far, if display is scaled, overlays gets correctly drawn but touch
input is not correctly scaled, resulting in an unusable overlay.

This happens for touches in menu too.

This commit aims to introduce this scaling factor adding it to the
config file, eg:

input_touch_scale = "2"
2021-04-06 13:15:43 +02:00
twinaphex 11b4043ef6 Struct reordering 2020-09-20 23:23:31 +02:00
jdgleaver 8a5ebbf24d Add option to scale overlays automatically (with aspect ratio correction) 2020-09-17 17:23:07 +01:00
twinaphex ab517428fd Reorder structs, alignment 2020-09-11 12:53:18 +02:00
jdgleaver b8ea4fd54e Overlay configuration improvements 2020-09-08 13:37:51 +01:00
jdgleaver cc2e098dab Add option to hide overlays when a gamepad is connected (Note: Restricted functionality on Android) 2020-08-25 11:12:37 +01:00
twinaphex 14e20cea51 Cleanups 2020-07-01 15:29:25 +02:00
parport0 a4590acde9 Add options for moving the on-screen overlay 2020-06-11 15:39:23 +03:00
jdgleaver 1df3e20bdd Add option to automatically rotate overlays 2019-10-04 12:15:57 +01:00
twinaphex 9e39220390 Turn function static 2019-07-18 17:35:41 +02:00
twinaphex fa990849ba (Overlay) Cleanups 2019-07-10 07:07:28 +02:00
twinaphex fa2e1fb0c1 overlay_ptr is now a static global variable inside retroarch.c 2019-07-10 06:53:47 +02:00
twinaphex 94af95e1b9 Start refactoring this - overlay_ptr needs to become a static
global variable confined inside retroarch.c
2019-07-10 04:43:50 +02:00
twinaphex 8dd0680cbc Merge input_overlay.c into retroarch.c 2019-07-09 18:13:41 +02:00
twinaphex 386657a366 (menu widgets backport) Re-commit task queue changes 2019-02-08 08:00:32 +01:00
twinaphex 7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
natinusala c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
twinaphex a82bb0ec94 Create special type input_bits_t 2018-04-08 20:21:12 +02:00
twinaphex fae9223641 Remove hashes from task_overlay 2018-02-25 13:03:54 +01:00
Ian House 5311544c65 Added overlay led driver, fixed a bug in the rpi led driver 2018-01-04 12:56:57 -05:00
David Walters adffa5fc4c Fixes for overlay buttons 2017-12-17 12:36:18 +00:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex 5b9f90dd9a (input overlay) Reorder variables in struct 2017-09-29 17:11:42 +02:00
denu8thell 0df4186191 reduce scope of input_overlay_add_inputs to file. 2017-08-08 02:48:46 -05:00
denu8thell 4c31d41920 Moved input_overlay_add_inputs call out of input_driver.c, shortened arguments. 2017-08-08 02:31:26 -05:00
denu8thell c882e64653 Added button press lightup on overlay.
input_overlay_add_inputs added, still need to implement dpad and analog visuals on overlay. Also still needs to be restructured so input_overlay_post_poll is only called once.
2017-08-07 21:59:05 -05:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex 92ca53db01 No more usage of settings_t inside input_overlay.c 2017-01-01 04:57:57 +01:00
twinaphex 6d4659a902 (overlay) Reduce dependence on grabbing settings pointer everywhere 2017-01-01 04:12:24 +01:00
twinaphex 4e8bb52038 (input_overlay.c) Remove more hacks 2016-11-27 15:21:53 +01:00
twinaphex 267fdbe21e (input_overlay.c) remove more hacks 2016-11-27 15:17:44 +01:00
twinaphex bbb2ffea9c Remove nasty input overlay hack for input_overlay_set_scale_factor 2016-11-27 15:10:09 +01:00
twinaphex 21e9bde569 Silence warning 2016-11-21 15:00:57 +01:00
twinaphex 7ce2ac082a Use retro_common_api.h 2016-06-03 05:54:21 +02:00
twinaphex cd176d0737 Remove input_overlay_init 2016-05-25 00:57:58 +02:00
twinaphex 25eaab0a2b Start passing input_overlay_t * state around to other functions 2016-05-24 23:15:19 +02:00
twinaphex 3d56dd1ef8 Cleanup 2016-02-04 21:03:28 +01:00
twinaphex 347a18cb30 Update input headers 2016-01-10 04:33:01 +01:00
twinaphex 4ef98894a2 Header include cleanups 2015-12-06 21:40:55 +01:00
twinaphex 21a9bd13a6 (input_overlay.c) Cleanups 2015-11-30 04:47:41 +01:00
Higor Eurípedes 29e9b87319 (tasks) Make task handles honor task->cancelled 2015-11-24 22:18:09 -03:00
Higor Eurípedes 9654fabe77 (overlay) Fix on screen keyboard 2015-11-23 17:42:01 -03:00
Higor Eurípedes 52e3b03546 Remove some uneeded prototypes 2015-11-23 17:42:01 -03:00
Higor Eurípedes a0d2bb4c7c Reimplement overlay loading with tasks 2015-11-23 17:42:01 -03:00
twinaphex 0b098b9301 input_overlay.h - cleanup 2015-09-06 03:25:57 +02:00