Jump to content
The simFlight Network Forums

scm@smurn.org

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by scm@smurn.org

  1. Thanks Pete. I'll guess I'll go with plan B then: Use a separate application to listen to the joystick buttons and then update the fsuipc offsets every 100ms or so, combining all clicks inbetween into one fsuipc write. I've changed the firmware to toggle the buttons instead of a press & release cycle per click, as you suggest. I quick proof of concept shows that I can handle almost a 1000 clicks per second with an external application. That should be enough for even the most vigorous knob spinning :-) Guess I have some programming to do this weekend.... Thanks for your help, Stefan
  2. I'm trying to optimize the settings to get the fastest pulse rate that still works reliably for my rotary encoders: The encoders send joystick button presses (one button for clock-wise, another one for counter-clock-wise). I have them assigned to "Vor1 Obi Inc/Dec" in fsuipc. Basically, I have two parameters to tune (as far as I know): Pulse width: Time the button stays pressed for each 'click' of the encoder. I can change this in the firmware. The PollInterval setting in fsuipc.ini I've tried setting pulse width to 20ms and the pollinterval to 5, but I'm losing clicks. 40ms pulses with 5ms polling works fine, but it takes ages to turn the OBI like that. The strange thing is that, even with 10ms pulses, the FSUIPC menu still detects them reliably. The "Buttons+Switches" page reacts without fault. But when I assign them to controls, the pollinterval seems to be significantly longer. Am I doing something wrong here? edit: I should probably add that this is in P3D v3
  3. I've finally finished building the hardware, so I'm now able to actually try this. Turns out that Xpndr 1/10/100/1000 inc/dec controls already exist that are perfect for my use-case. I've also tried the inc/dec controls on the offset directly, but the problem is that manipulating higher digits sets the lower digits to 0. The Xpndr controls work fine! Thanks for your help!
  4. Thanks Thomas! Due to the BCD encoding the available Offset inc/dec functions won't be sufficient. I should be able to do it with a lua script, but maybe you know a simpler way?
  5. Moved to Main Forum FSUIPC can assign joystick buttons to inc/dec radio frequencies, which is great! Does something similar exist to set the squawk code? I coudn't find anything. I see two options: Either as inc/dec for each of the four digits, or with seven numeric buttons, like the garmin transponders use. I don't mind which one, but I need to order either rotary encoders or buttons for my little project... Many thanks, Stefan
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.