Magellan Linux

Contents of /mcore-src/trunk/mcore-tools/daemon/control/include/input.control.class

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2051 - (show annotations) (download)
Wed May 8 11:09:38 2013 UTC (10 years, 11 months ago) by niro
File size: 319 byte(s)
-added control daemon pieces, WIP
1 #!/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 }