fabiocarrara / meye

A deep-learning-based web tool for translational and real-time pupillometry
https://www.pupillometry.it
GNU General Public License v3.0
40 stars 12 forks source link

Code triggers as 8bit uint #17

Open raffaelemazziotti opened 3 years ago

raffaelemazziotti commented 3 years ago

We can bind triggers to 8 buttons [e.g. 1 to 8] and just code multiple button presses as a 8 bit integer.: 00000000 is 0 no button presses 00000001 is 1 button 1 has been pressed 00000010 is 2 button 2 has been pressed 01010101 is 85 button 1,3,5,7 ave been pressed together

This would expand the potential capabilities of trigger acceptance... Do you think it would be feasible?