You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please point me to an example of how to handle an analog input (eg. steering wheel)? Is there any example I could look at to learn?
Thank you very much!
The text was updated successfully, but these errors were encountered:
In this iona.ino configuration, iona reports 8 channels of analog inputs supports around the line 199.
Once the host, e.g. naomi, recognize this report, it will start asking kCmdAnalogInput to retrieve the analog input status. The command is handled around the line 233 in the iona.ino.
Currently, it simply returns [0x80, 0x00] for each analog input channel, and this represents the center position in unsigned 16-bits integer.
If you have additional code to get analog inputs from e.g. USB gamepad, you can pass the value from your managed controller here. You may need to investigate which channel of analog inputs used for the function you are interested in.
In this iona.ino configuration, iona reports 8 channels of analog inputs
supports around the line 199.
Once the host, e.g. naomi, recognize this report, it will start asking
kCmdAnalogInput to retrieve the analog input status. The command is handled
around the line 233 in the iona.ino.
Currently, it simply returns [0x80, 0x00] for each analog input channel,
and this represents the center position in unsigned 16-bits integer.
If you have additional code to get analog inputs from e.g. USB gamepad,
you can pass the value from your managed controller here. You may need to
investigate which channel of analog inputs used for the function you are
interested in.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APEPPLVVB6LMSRXJGE5TANTSCN3KVANCNFSM4QITR6KA>
.
Could you please point me to an example of how to handle an analog input (eg. steering wheel)? Is there any example I could look at to learn?
Thank you very much!
The text was updated successfully, but these errors were encountered: