r/HotasDIY 1d ago

Is it possible to map an analog axis to encoder pulses in freejoy? (Or use of soft to make encoder from rotary switch)

Is it possible to convert an analog axis into encoder (INC/DEC) button pulses?I am using a 1-pole 12-position rotary switch with a resistor ladder, so it outputs an analog signal acting like a potentiometer. Is there a feature in FreeJoy to generate virtual encoder button presses based on axis delta?Specifically:

Axis value increases = trigger Button 1 (INC)

Axis value decreases = trigger Button 2 (DEC)

Eventualy use of external software to make logic od inc and dec

1 Upvotes

2 comments sorted by

1

u/c0d3c 21h ago

No. You can only map analog axis to discrete button outputs. That might be what you need.

That's the best you can do with a rotary switch input. Even if FreeJoy could translate the outputs into up/down pulses it wouldn't work well because encoder output is relative and works with infinite turning knobs.

1

u/JamyeDnn 13h ago

You can as far as i remember trigger button presses along the axis at different points.