/*
* The Ursary Audio Controls
*
- * (c) 2014--2018 Martin Mares <mj@ucw.cz>
+ * (c) 2014--2020 Martin Mares <mj@ucw.cz>
*/
#undef LOCAL_DEBUG
#include <syslog.h>
#include "ursaryd.h"
+#include "usb.h"
/*
* Map of all controls
*
* rotary red button green button
- * 0 sink PCH mute -
+ * 0 sink PCH mute use headphones
* 1 - - -
* 2 - - -
* 3 - - -
- * 4 MPD mute play/pause/stop
- * 5 Albireo MPV mute -
- * 6 Albireo other mute -
- * 7 other machines mute -
+ * 4 MPD mute MPD play/pause
+ * 5 Albireo MPV mute MPD stop
+ * 6 Albireo other mute MPD prev
+ * 7 other machines mute MPD next
*
* center -
* slider -
main_init();
update_timer.handler = do_update;
+ usb_init();
noct_init();
pulse_init();
mpd_init();