diff options
author | shtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2> | 2008-02-06 09:38:20 +0000 |
---|---|---|
committer | shtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2> | 2008-02-06 09:38:20 +0000 |
commit | 7dc0174c3647070b1a541db0132a292c4d870279 (patch) | |
tree | fe2ad6a962eea2c1f5f5ac775953b6a0bde17229 /external_kbd.sh | |
parent | 93b7cd2d6a1736eaef1e504fcac92dab091d42a9 (diff) |
_THIS_ time, proper semantics...
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/shtrom/scripts@122 1991c358-8f32-0410-a49a-990740bdf4c2
Diffstat (limited to 'external_kbd.sh')
-rwxr-xr-x | external_kbd.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/external_kbd.sh b/external_kbd.sh index 76e63c5..cadf7bb 100755 --- a/external_kbd.sh +++ b/external_kbd.sh @@ -6,13 +6,13 @@ case $1 in off) echo "Using the iBook's keyboard..." - xmodmap -e "keycode 108=KP_Enter" - sudo sysctl -w dev.mac_hid.mouse_button_emulation=0 + xmodmap -e "keycode 108=ISO_Level3_Shift" + sudo sysctl -w dev.mac_hid.mouse_button_emulation=1 ;; on) echo "Using an external keyboard..." - xmodmap -e "keycode 108=ISO_Level3_Shift" - sudo sysctl -w dev.mac_hid.mouse_button_emulation=1 + xmodmap -e "keycode 108=KP_Enter" + sudo sysctl -w dev.mac_hid.mouse_button_emulation=0 ;; *) echo "usage: $0 on|off" |