package Xconfig::default; # $Id$ use diagnostics; use strict; use Xconfig::xfree; use keyboard; use common; use mouse; sub configure { my ($keyboard, $mouse) = @_; $keyboard ||= keyboard::read(); $mouse ||= do { my $mouse = mouse::read(); add2hash($mouse, mouse::detect()) if !$::noauto; $mouse; }; my $raw_X = Xconfig::xfree->empty_config; $raw_X->{xfree4}->add_load_module($_) foreach qw(dbe v4l extmod type1 freetype); config_keyboard($raw_X, $keyboard); config_mouse($raw_X, $mouse); $raw_X; } sub config_mouse { my ($raw_X, $mouse) = @_; mouse::set_xfree_conf($mouse, $raw_X); } sub config_keyboard { my ($raw_X, $keyboard) = @_; $raw_X->set_keyboard(keyboard::keyboard2full_xkb($keyboard)); } 1; 411e0e9d500d91cf111fb93209acd7d461ee2453'/> Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2003-05-16 15:55:38 +0000
committerPablo Saratxaga <pablo@mandriva.com>2003-05-16 15:55:38 +0000
commit411e0e9d500d91cf111fb93209acd7d461ee2453 (patch)
tree2ad2bc9508b90d8be8a0dc571ee75b43be5b0019
parent1af0da3b2f30c11993aaefd4a9271768cb2e1bf3 (diff)
downloaddrakx-411e0e9d500d91cf111fb93209acd7d461ee2453.tar
drakx-411e0e9d500d91cf111fb93209acd7d461ee2453.tar.gz
drakx-411e0e9d500d91cf111fb93209acd7d461ee2453.tar.bz2
drakx-411e0e9d500d91cf111fb93209acd7d461ee2453.tar.xz
drakx-411e0e9d500d91cf111fb93209acd7d461ee2453.zip
updated pot file
Diffstat