#Adjustable actuation point creating problems with my game

1 messages · Page 1 of 1 (latest)

mystic bay
#

So I recently purchased a Keychron K2 HE keyboard, which has adjustable actuation point with magnetic switches instead of mechanical. It seems like it is inputting -0.66 and 0.75 on the X/Y axis from the input system. How can I make it work in my game?

mystic bay
#

Did some "research", difference between cs2 and unity for example is that cs2 takes analog input while unity takes digital and reads the input like a float between 0-1

#

I don't really know how to change it in unity to take analog input

dense hawk
#

If you only need digital input, you could just try and find a function that normalizes the input value. Like input <= 0f ? 0f : 1f.
Are you using the old or the new input system?

dense hawk
#

In that case you may be able to apply a preprocessor to your axis value.

dense hawk
#

yeah

mystic bay
#

fixed it

#

i just added a deadzone of 0.9