Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

Using PCKeyboardHack on Maverick(OSX 10.9) #22

@cnberg

Description

@cnberg
  1. install PCKeyboardHack for 10.8
  2. reboot
  3. sudo vim /Applications/PCKeyboardHack.app/Contents/Library/scripts/kext.sh (using the 10.8 kext on 10.9, see below)
  4. restart, All mine remappings are working. Good luck.
#!/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin; export PATH

basedir="/Applications/PCKeyboardHack.app/Contents/Library"
kextfile=''
uname=`uname -r`
case "${uname%%.*}" in
    11)
        kextfile="$basedir/PCKeyboardHack.10.7.kext"
        ;;
    12)
        kextfile="$basedir/PCKeyboardHack.10.8.kext"
        ;;
    13)
        kextfile="$basedir/PCKeyboardHack.10.8.kext"
        ;;
esac

if [ "x$kextfile" == 'x' ]; then
    exit 1
fi

if [ "$1" == 'unload' ]; then
    kextunload -b org.pqrs.driver.PCKeyboardHack
else
    kextload "$kextfile"
fi

exit 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions