Annotation of /mcore-src/trunk/mcore-tools/daemon/control/include/input.control.class
Parent Directory | Revision Log
Revision 2051 -
(hide annotations)
(download)
Wed May 8 11:09:38 2013 UTC (11 years, 1 month ago) by niro
File size: 319 byte(s)
Wed May 8 11:09:38 2013 UTC (11 years, 1 month ago) by niro
File size: 319 byte(s)
-added control daemon pieces, WIP
1 | niro | 2051 | #!/bin/sh |
2 | |||
3 | # set_input_mouse $serial $value | ||
4 | set_input_mouse() | ||
5 | { | ||
6 | local serial="$1" | ||
7 | local value="$2" | ||
8 | |||
9 | import_resource cfg_input "${serial}" mouse "${value}" | ||
10 | } | ||
11 | |||
12 | # set_input_keyboard $serial $value | ||
13 | set_input_keyboard() | ||
14 | { | ||
15 | local serial="$1" | ||
16 | local value="$2" | ||
17 | |||
18 | import_resource cfg_input "${serial}" keyboard "${value}" | ||
19 | } |