Hi All,
Windows 10 & 11, python 3.13, wx 4.2.2.
I have been using the joystick library in wx.adv.Joystick for menu navigation in an emulator front-end I have which I believe is a wx widgets wrapper ?? as there isn’t anything within it that does any real work. Anyway, just invoking the below causes around 15% CPU usage until closed. I’m assuming whatever library this is calling is the problem.
joystick = wx.adv.Joystick(joystick=wx.JOYSTICK1)
This isn’t great at all and I’d assume a real problem for low spec machines
I cant use the alternate ‘inputs’ library as it has serious blocking issues - I did try to use that from a thread which is fine but it still blocks that thread from closing while it waits for a joystick event. Some people have tried to work on this issue and there is a ‘fix’ for WIN but not for LINUX and as my application is cross-platform I really need a better solution.
Has anyone come across this and / or have any suggestions