View Single Post
Old 12-14-2019, 08:07 PM   #837
TabbyCat
Human being with feelings
 
TabbyCat's Avatar
 
Join Date: May 2019
Location: Los Angeles, CA
Posts: 57
Default

For this one:

Code:
reaper.JS_VKeys_GetState(number cutoffTime)
I'm having difficulty divining what the "cutoff time" actually is. The API docs say it can be either absolute/relative, but what does this mean in practice? My gut feels that it's listening to see if the state of the particular byte has changed since the cutoff time (i.e. it's buffering strokes, and then examining their timestamps retroactively) - but I'm not able to get meaningful results by altering this value.

The snippets out there perform a lot of formatting to the value that gets passed in, which makes it tough to tell what it is. Any pointers appreciated
TabbyCat is offline   Reply With Quote