Skip to content

lab11/hamster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hamster

A system that changes the brightness of a hue light depending on how fast you type, just like a hamster running on a wheel.

What you need:

To run:

  • Compile key_press.c
    • gcc -Wall -o key_press key_press.c -framework ApplicationServices
  • Because of os-x security restrictions, the key_press script will only work as super user. Read key_press.c if you don't trust it before running.
    • sudo python main.py

TODO:

  • The hue light is hard coded as light 2. Should be changed to allow user to choose.
  • Pretty much no error handling is included.

Keypress credit to:

  • Daniel Beard

About

A system that changes the brightness of a hue light depending on how fast you type

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published