I am trying to use the lastactive sensor in order to turn off my busy light when away from my PC.
I have found this works, but only sometimes. It is very inconsistent and I am making no changes to config between when it works and doesn't.
I assume there is something on my PC that may run on occasion, making the system think it is active.
How does the last active sensor actually calculate this? I am trying to figure out how to troubleshoot this and whether the issue is my system, or if there is a bug.
Solution
@Subjunctive @Amadeo you may find this of interest.
I wrote some, definitely not ChatGPT authored code... And I managed to figure out what was causing it. Essentially using the RawInput API and then logging the Vendor and Product IDs. I then used USBTreeView to check which device had that ID.
Its a custom control board for my sim pedals spamming like crazy.
Happy to share the code if you are interested, written in C++