Sensors#button_down? works even in headless mode. Fixes #6