Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2008-02-05 07:52:18 +0000
committershtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2008-02-05 07:52:18 +0000
commit93b7cd2d6a1736eaef1e504fcac92dab091d42a9 (patch)
tree6522e46a767786fc75f8bcc305bf9f1b97805c07 /external_kbd.sh
parent099ec86160191527a528100b9eceb65214ecacb9 (diff)
[iBook keyboard script] Proper on/off semantics.
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/shtrom/scripts@120 1991c358-8f32-0410-a49a-990740bdf4c2
Diffstat (limited to 'external_kbd.sh')
-rwxr-xr-xexternal_kbd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/external_kbd.sh b/external_kbd.sh
index a74fc85..76e63c5 100755
--- a/external_kbd.sh
+++ b/external_kbd.sh
@@ -4,12 +4,12 @@
# instead of the tweaked version
case $1 in
- on)
+ off)
echo "Using the iBook's keyboard..."
xmodmap -e "keycode 108=KP_Enter"
sudo sysctl -w dev.mac_hid.mouse_button_emulation=0
;;
- off)
+ on)
echo "Using an external keyboard..."
xmodmap -e "keycode 108=ISO_Level3_Shift"
sudo sysctl -w dev.mac_hid.mouse_button_emulation=1