GlovePIEPreservation / GlovePIE

The original creator stopped maintaining it and the original site went down. I have uploaded my copy so people can continue using it.
https://github.com/GlovePIEPreservation/GlovePIEReverseEngineering
138 stars 20 forks source link

GlovePIE needs to call timeBeginPeriod #1

Open randomascii opened 3 years ago

randomascii commented 3 years ago

Windows 10 20-04 changed how it processes timer interrupts/events and according to this comment on my blog:

https://randomascii.wordpress.com/2020/10/04/windows-timer-resolution-the-great-rule-change/#comment-77341

this has affected GlovePIE. Previously you could tell GlovePIE to run scripts at 1000 Hz but now the maximum is 64 Hz.

The fix to this is simple - GlovePIE should call timeBeginPeriod(1). Alternately it should call timeBeginPeriod with the appropriate interval based on what frequency users want their scripts to run at. The shorter the interval the more battery-life will be wasted.

Details are in the blog post.

Disclaimer: I have never used GlovePIE, I am just the first person to report on the timer processing changes in Windows 10 20-04.

Ravbug commented 3 years ago

Hi, unfortunately we don't have the original source code for GlovePIE, so I'm not sure how to make that modification. I have determined through some reverse-engineering that it's a Pascal/Delphi program but so far I haven't been successful in creating a full decompilation. If you (or anyone) have any thoughts about this please add to this thread.

mike123yy commented 3 years ago

This is the last email I can find for the original creator. I suppose you might be able to contact him and see if he would possibly update the program or release the source code. This program is great and I hope you can keep it going, if I knew how to code I would take a stab at it.

carl.kenner@gmail.com