Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to bypass mapping on if_eq condition fail #872

Open
amot-dev opened this issue Apr 9, 2024 · 0 comments
Open

Option to bypass mapping on if_eq condition fail #872

amot-dev opened this issue Apr 9, 2024 · 0 comments

Comments

@amot-dev
Copy link

amot-dev commented Apr 9, 2024

Hi, I'm adding a secondary function to my scrollwheel using:

if_eq(
	$hypershift,
	1,
	key(KEY_VOLUMEUP),
	wheel(up, 40)
)

The scrolling feels unnatural though. I've tinkered with the values and this is the closest I've been able to get to "normal". I've also tried to add events for scrolling (both wheel and hi res), but that was worse.

Which made me think, is there a way to bypass the mapping completely if $hypershift is 0? Then the scroll would function as if there were no mapping unless I toggle hypershift. If this isn't a feature now, it would be cool to see implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant