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
I'm trying to simulate button press, but its not reliable at all. Most of the time there is no reaction at all.
Are there any limitations to simulated button presses on joystick? My guess is that press is too short to be registered.
For context, I'm using simplerotary library and I want encoder turns to be passed via controller as button presses:
int r1Dir = rotary1.rotate();
if ( r1Dir == 1 ) {// CW
controllerData.buttonArray[(4 - 2) / 8] |= HIGH << ((4 - 2) % 8);
}
The text was updated successfully, but these errors were encountered:
I'm trying to simulate button press, but its not reliable at all. Most of the time there is no reaction at all.
Are there any limitations to simulated button presses on joystick? My guess is that press is too short to be registered.
For context, I'm using simplerotary library and I want encoder turns to be passed via controller as button presses:
The text was updated successfully, but these errors were encountered: