pikeyd165 – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /**** uinput.h *****************************/ |
2 | /* M. Moller 2013-01-16 */ |
||
3 | /* Universal RPi GPIO keyboard daemon */ |
||
4 | /*******************************************/ |
||
5 | |||
6 | /* |
||
7 | Copyright (C) 2013 Michael Moller. |
||
8 | This file is part of the Universal Raspberry Pi GPIO keyboard daemon. |
||
9 | |||
10 | This is free software; you can redistribute it and/or |
||
11 | modify it under the terms of the GNU Lesser General Public |
||
12 | License as published by the Free Software Foundation; either |
||
13 | version 2.1 of the License, or (at your option) any later version. |
||
14 | |||
15 | The software is distributed in the hope that it will be useful, |
||
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||
18 | Lesser General Public License for more details. |
||
19 | |||
20 | You should have received a copy of the GNU Lesser General Public |
||
21 | License along with the GNU C Library; if not, write to the Free |
||
22 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
||
23 | 02111-1307 USA. |
||
24 | */ |
||
25 | |||
26 | #include <stdbool.h> |
||
27 | |||
28 | #ifndef _UINPUT_H_ |
||
29 | #define _UINPUT_H_ |
||
30 | |||
31 | int init_uinput(bool skip_mouse_init); |
||
32 | int test_uinput(void); |
||
33 | int close_uinput(bool skip_mouse_init); |
||
34 | int send_gpio_keys(int gpio, int value); |
||
35 | |||
36 | int sendKey(int key, int value); |
||
37 | int sendRel(int devm,int dx, int dy); |
||
38 | |||
39 | #endif |