Comment on Update: SNES to Bluetooth Lag is now at 8ms and code is available
Toes@ani.social 8 months ago
Have you explored changing the polling logic to interrupt?
Comment on Update: SNES to Bluetooth Lag is now at 8ms and code is available
Toes@ani.social 8 months ago
Have you explored changing the polling logic to interrupt?
v1605@lemmy.world 8 months ago
Can you provide an example? I only experimented with delay and found that 1 millisecond gave the best improvement.
Toes@ani.social 8 months ago
I’m not familiar with the hardware at hand, but an example is how the PS/2 port on a computer is interrupt based. Where you press a button and it informs the cpu of the button press. I was curious if the hardware you’re working with has something akin to that.
v1605@lemmy.world 8 months ago
The SNES uses shift registers on the controller. Polling it requires reading the registers to get the current state.