Keyboard: Difference between revisions
Jump to navigation
Jump to search
| Line 20: | Line 20: | ||
=== Setting key backlights from Python, the easy way === | === Setting key backlights from Python, the easy way === | ||
The easiest way is to use the daskeyboard [https://gitlab.socsci.ru.nl/wilberth/daskeyboard Python library]. Just put the file [https://gitlab.socsci.ru.nl/wilberth/daskeyboard/-/raw/master/daskeyboard.py?inline=false daskeyboard.py] in the same directory as the experiment and use: | |||
<source lang="python"> | <source lang="python"> | ||
import daskeyboard | import daskeyboard | ||