device_query icon indicating copy to clipboard operation
device_query copied to clipboard

input polling doesn't work when other app is in fullscreen

Open BestClaws opened this issue 2 years ago • 3 comments

when i poll for pressed keys using DeviceState.get_keys() when say, a game is in full screen, it does not work.

BestClaws avatar Apr 17 '22 12:04 BestClaws

Good day! I'll need a bit more information. What operating system are you using?

ostrosco avatar Apr 17 '22 15:04 ostrosco

Heya, I'm using Windows 11, I just retried running the program as Administrator and it's seems to work that way, but not as standard user. (When other apps don't take fullscreen, polling works for both user types) You may close the issue if admin privileges are infact necessary

BestClaws avatar Apr 17 '22 16:04 BestClaws

I don't have a Windows 11 machine to confirm if we need admjn privileges or not. I'll find someone else to test to confirm. It wouldn't surprise me if it needs special permission to read inputs directly from the OS; we ran into a similar problem with newer versions of MacOS.

ostrosco avatar Apr 17 '22 16:04 ostrosco