Hi all,
Another project I am working on is the creation of bioresponsive gameinterfaces, where I use the R-R intervals of heartbeats as a game controller. With the help of pyautogui (https://github.com/asweigart/pyautogui), whenever the heartbeat reaches a certain threshold, it initiates a keyboard event such as a button press. I find this solution quite practical, as it allows seamless integration with any type of PC game that is running in the background. The main issue I have is the latency, as there is often a 500 ms latency already, due to the streaming lag of my ECG device (Polar H10). But with the help of goofi-pipe, it may be possible to predict the occurrence of the next R interval and overcome this latency.
So my question (or request) is how difficult it would be to add a pyautogui module, which can initiate some keyboard event (Y) whenever some threshold value (X) is reached?
Hi all, Another project I am working on is the creation of bioresponsive gameinterfaces, where I use the R-R intervals of heartbeats as a game controller. With the help of pyautogui (https://github.com/asweigart/pyautogui), whenever the heartbeat reaches a certain threshold, it initiates a keyboard event such as a button press. I find this solution quite practical, as it allows seamless integration with any type of PC game that is running in the background. The main issue I have is the latency, as there is often a 500 ms latency already, due to the streaming lag of my ECG device (Polar H10). But with the help of goofi-pipe, it may be possible to predict the occurrence of the next R interval and overcome this latency.
So my question (or request) is how difficult it would be to add a pyautogui module, which can initiate some keyboard event (Y) whenever some threshold value (X) is reached?