Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/basic-input/input.control.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2509 by niro, Mon Sep 14 08:17:24 2015 UTC revision 2554 by niro, Thu Sep 17 07:23:44 2015 UTC
# Line 1  Line 1 
1  # $Id$  # $Id$
2    
3    push_config input_keymap
4    
5  help_input_mouse()  help_input_mouse()
6  {  {
7   local serial="${CLASS_ARGV[0]}"   local serial="${CLASS_ARGV[0]}"
# Line 49  set_input_keymap() Line 51  set_input_keymap()
51  control_input_keymap()  control_input_keymap()
52  {  {
53   local serial="${CLASS_ARGV[0]}"   local serial="${CLASS_ARGV[0]}"
54     push_config_input_keymap "${serial}"
55    }
56    
57    push_config_input_keymap()
58    {
59     local serial="$1"
60   local value   local value
61    
62   value=$(mysqldo "select keymap from cfg_input where serial='${serial}'")   value=$(mysqldo "select keymap from cfg_input where serial='${serial}'")
63   control_client "${serial}" set input.keymap "${value}"   control_client "${serial}" set input.keymap "${value}"
64  }  }
   

Legend:
Removed from v.2509  
changed lines
  Added in v.2554