With Tippi's pointing mechanic, I've mapped the pointing to the right thumbstick of an Xinput controller and adjusted the controls as I needed. While using Dolphin's built-in "Auto-Hide" would be sufficient enough, I wanted to make the controls more convenient, so I scripted my own Auto-Hide in the "Hide" button.
As well, I want to make clicking the thumbstick also hide/unhide the pointer, so I wouldn't have to wait for the hold to end. The manual hide and auto-hide should not be independent of each other, such that auto-hide will un-hide the pointer if I move the thumbstick, then clicking it will hide it, then moving it again will immediately un-hide it, and vice versa for clicking to un-hide it.
My issue is I can't make it integrate well with the auto-hide, so they are independent. I try to make use of the toggle() function and it's clear_state_input parameter so click-hiding can reset when auto-hide needs it to, but no matter what logic I use it either stops the auto-hide functionality or fails to do anything.
If anyone who knows how to do input scripting better than me could think it through, I'd very much appreciate itÂ
Using Dolphin build 2409 on Windows 10.
Bad attempt at trying this feature:
Code:
$deadzone = 0.2,
$delay = 2,
$holdingLeft = `Right X-` > $deadzone,
$holdingRight = `Right X+` > $deadzone,
$holdingUp = `Right Y+` > $deadzone,
$holdingDown = `Right Y-` > $deadzone,
hold(!$holdingLeft & !$holdingRight & !$holdingUp & !$holdingDown, $delay)
As well, I want to make clicking the thumbstick also hide/unhide the pointer, so I wouldn't have to wait for the hold to end. The manual hide and auto-hide should not be independent of each other, such that auto-hide will un-hide the pointer if I move the thumbstick, then clicking it will hide it, then moving it again will immediately un-hide it, and vice versa for clicking to un-hide it.
My issue is I can't make it integrate well with the auto-hide, so they are independent. I try to make use of the toggle() function and it's clear_state_input parameter so click-hiding can reset when auto-hide needs it to, but no matter what logic I use it either stops the auto-hide functionality or fails to do anything.
If anyone who knows how to do input scripting better than me could think it through, I'd very much appreciate itÂ
Using Dolphin build 2409 on Windows 10.
Bad attempt at trying this feature:
Code:
$hidden = hold(!$holdingLeft & !$holdingRight & !$holdingUp & !$holdingDown, $delay),
$overridenToggle = toggle(`Thumb R`, $hidden),
if($overridenToggle, 1, $hidden)