summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/xfree4.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Xconfig/xfree4.pm')
-rw-r--r--perl-install/Xconfig/xfree4.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/perl-install/Xconfig/xfree4.pm b/perl-install/Xconfig/xfree4.pm
index 58c6cdad0..8ffa411e0 100644
--- a/perl-install/Xconfig/xfree4.pm
+++ b/perl-install/Xconfig/xfree4.pm
@@ -63,20 +63,21 @@ sub set_wacoms {
@wacoms or return;
- my %Modes = (Stylus => 'Absolute', Erasor => 'Absolute', Cursor => 'Relative');
+ my %Modes = (Stylus => 'Absolute', Eraser => 'Absolute', Cursor => 'Relative');
each_index {
- my ($wacom) = @_;
+ my $wacom = $_;
foreach (keys %Modes) {
- my $h = { Identifier => { val => $_ . ($::i + 1) },
+ my $identifier = $_ . ($::i + 1);
+ my $h = { Identifier => { val => $identifier },
Driver => { val => 'wacom' },
- Style => { val => lc $_, Option => 1 },
+ Type => { val => lc $_, Option => 1 },
Device => { val => $wacom->{Device}, Option => 1 },
Mode => { val => $Modes{$_}, Option => 1 },
if_($wacom->{USB}, USB => { Option => 1 })
};
$raw_X->add_Section('InputDevice', $h);
- push @$layout, { val => qq("$_$::i" "AlwaysCore") };
+ push @$layout, { val => qq("$identifier" "AlwaysCore") };
}
} @wacoms;
}