Re: [w3c/gamepad] Arbitrary buffering of API calls is causing issues (#46)

> The only power-friendly solution I can think of is to adaptively increase the XInput polling rate when the Gamepad API is frequently called.

Isn't the browser privy to the device's charge state? It'd make sense to simply enable a high poll if the device is charging, which would be a likely scenario where the high rate would be justified while having no impact on battery. Desktop devices would always poll at the fastest rate and devices with batteries would poll at the fastest rate when connected to power.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/issues/46#issuecomment-633907877

Received on Tuesday, 26 May 2020 09:14:08 UTC