Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Bind Enhanced Input Action to just one direction on a joystick
Post Flair (click to view more posts with a particular flair)
Post Body

I am working on a 2D sidescroller, and I want to implement a crouching feature that's activated by holding "down" on your respective control scheme. I've already set the binding for keyboard and mouse, it's just D, easy as pie. But I don't quite know how to set this up for keyboard, as if I try tilting the stick down it creates a binding for that stick's vertical axis as a whole, even though I only want it to trigger when tilted down. Ordinarily this wouldn't be a big deal since I can just check if the Input Action's value is less than one and then only run my crouch code there. Still, I plan on using the crouch input for "combined"/chorded inputs for certain abilities, i.e. crouch jump equals super jump. It would be a pain to check the input value each and every time manually. Surely there's some setting in the Enhanced Input system that lets me achieve this, right?

Author
Account Strength
100%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
9,894
Link Karma
5,368
Comment Karma
4,452
Profile updated: 3 days ago
Posts updated: 18 hours ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 month ago