summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 389e1fe)
raw | patch | inline | side by side (parent: 389e1fe)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Feb 2009 11:52:15 +0000 (11:52 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Feb 2009 11:52:15 +0000 (11:52 +0000) |
:
> * Reorder MouseType and MousePorts array, so autodetection is the first entry
> - Type: auto
> - Port: /dev/input/mice (combined mouse driver default since Linux 2.6)
> * Add "auto" to MouseType for autodetection
> * Rename previous MouseType "inheritance" AUTO to use "default"
> -> this will map old AUTO => auto, which should almost always work
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13448 594d385d-05f5-0310-b6e9-bd551577e9d8
> * Reorder MouseType and MousePorts array, so autodetection is the first entry
> - Type: auto
> - Port: /dev/input/mice (combined mouse driver default since Linux 2.6)
> * Add "auto" to MouseType for autodetection
> * Rename previous MouseType "inheritance" AUTO to use "default"
> -> this will map old AUTO => auto, which should almost always work
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13448 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_terminalService.inc | patch | blob | history | |
gosa-plugins/goto/admin/systems/goto/class_workstationService.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc
index a19bfe318f5d4dc126c86d21508c6ba7a492df60..12edba01f448e04be542226c32ed29fefc8fc706 100644 (file)
/* Additional values will be extracted from CONFIG_DIR.keyboardLayouts */
$this->XKbLayouts = array("de"=> "de","en" =>"en", "es" => "es", "us" =>"us", "fr" => "fr");
$this->XKbVariants= array("nodeadkeys"=>"nodeadkeys", "basic"=>"basic");
- $this->MouseTypes = array("ImPS/2"=>"ImPS/2","PS/2"=>"PS/2", "explorerps/2"=>"explorerps/2",
- "Microsoft"=>"Microsoft","Logitech"=>"Logitech");
- $this->MousePorts = array("/dev/ttyS0"=>"/dev/ttyS0",
- "/dev/ttyS1"=>"/dev/ttyS1","/dev/psaux"=>"/dev/psaux",
- "/dev/input/mice"=>"/dev/input/mice");
-
+
+ $this->MouseTypes= array("auto" => "auto",
+ "explorerps/2" => "explorerps/2",
+ "ImPS/2" => "ImPS/2",
+ "PS/2" => "PS/2",
+ "Microsoft" => "Microsoft",
+ "Logitech" => "Logitech",);
+
+ $this->MousePorts= array("/dev/input/mice" => "/dev/input/mice",
+ "/dev/mouse" => "/dev/mouse",
+ "/dev/psaux" => "/dev/psaux",
+ "/dev/ttyS0" => "/dev/ttyS0",
+ "/dev/ttyS1" => "/dev/ttyS1");
/* Try to read additional keyboard layouts
*/
$this->XKbVariants= array('default' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->XKbVariants;
break;
case 'gotoXMouseType':
- $this->MouseTypes= array('AUTO' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MouseTypes;
+ $this->MouseTypes= array('default' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MouseTypes;
break;
case 'gotoXMouseport':
- $this->MousePorts= array('AUTO' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MousePorts;
+ $this->MousePorts= array('default' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MousePorts;
break;
}
}
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc
index f0fcff4e40bab939967d2b0eb1d0649369f9edfd..ff80bbc62c130ed99f6bfa2c6c62e1a5c270ffea 100644 (file)
$this->XKbModels[$type] = $type;
}
- $this->MouseTypes= array("ImPS/2" => "ImPS/2", "PS/2" => "PS/2", "Microsoft" => "Microsoft",
- "Logitech" => "Logitech","explorerps/2"=>"explorerps/2",);
-
- $this->MousePorts= array("/dev/ttyS0" =>"/dev/ttyS0",
- "/dev/ttyS1" => "/dev/ttyS1", "/dev/psaux" =>"/dev/psaux",
- "/dev/input/mice" => "/dev/input/mice");
+ $this->MouseTypes= array("auto" => "auto",
+ "explorerps/2" => "explorerps/2",
+ "ImPS/2" => "ImPS/2",
+ "PS/2" => "PS/2",
+ "Microsoft" => "Microsoft",
+ "Logitech" => "Logitech");
+
+ $this->MousePorts= array("/dev/input/mice" => "/dev/input/mice",
+ "/dev/mouse" => "/dev/mouse",
+ "/dev/psaux" => "/dev/psaux",
+ "/dev/ttyS0" => "/dev/ttyS0",
+ "/dev/ttyS1" => "/dev/ttyS1");
/* Additional values will be extracted from CONFIG_DIR./keyboardLayouts */
$this->XKbLayouts = array("de"=> "de","en" =>"en", "es" => "es", "us" =>"us", "fr" => "fr");
$this->XKbVariants= array('default' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->XKbVariants;
break;
case 'gotoXMouseType':
- $this->MouseTypes= array('AUTO' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MouseTypes;
+ $this->MouseTypes= array('default' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MouseTypes;
break;
case 'gotoXMouseport':
- $this->MousePorts= array('AUTO' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MousePorts;
+ $this->MousePorts= array('default' => _("inherited").' ['.$attrs[$name][0].']' ) + $this->MousePorts;
break;
}
$this->XKbModels= array('default' => _("inherited"));
$this->XKbLayouts= array('default' => _("inherited"));
$this->XKbVariants= array('default' => _("inherited"));
- $this->MouseTypes= array('AUTO' => _("inherited"));
- $this->MousePorts= array('AUTO' => _("inherited"));
+ $this->MouseTypes= array('default' => _("inherited"));
+ $this->MousePorts= array('default' => _("inherited"));
}
}