]> mj.ucw.cz Git - ursary.git/blob - ursaryd.h
First light...
[ursary.git] / ursaryd.h
1 /* main */
2
3 void schedule_update(void);
4
5 void notify_rotary(int rotary, int delta);
6 void notify_button(int button, int on);
7
8 /* nocturn.c */
9
10 void noct_init(void);
11 bool noct_is_ready(void);
12 void noct_set_ring(int ring, int mode, int val);
13 void noct_set_button(int button, int val);
14
15 enum ring_mode {
16   RING_MODE_LEFT,
17   RING_MODE_RIGHT,
18   RING_MODE_MID_RIGHT,
19   RING_MODE_MID_SYM,
20   RING_MODE_SINGLE_ON,
21   RING_MODE_SINGLE_OFF,
22 };
23
24 /* pulse-ucw.c */
25
26 extern struct pa_mainloop_api pmain_api;
27
28 void pmain_init(void);