Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick

keyboard remapping

I find this little gem, uControl, which is a kernel extension for OS X that inserts its own fake instance of IOHIDSystem in front of the real IOHIDSystem, so it can intercept and change keyboard messages.

Problem is, the author hard-coded in how he wants his keyboard to behave. I have my own preferences.

I'm remapping CapsLock to Fn, Fn to Control, and LeftCmd to Alt (er, Option). That way the keyboard on my TiBook matches my other laptop and every other keyboard I've ever used.

This wouldn't have been necessary, but doesn't let you use Cmd as meta, and that's where my finger is. And my finger keeps thinking Fn is control.

Okay, back to modifying kernel code! (that sounds more hardcore than this really is ... change ifs around. but hey. :P)

Fuck: LeftApple and RightApple are exactly the same key as far as the OS can see? Hey ... Key Caps utility confirms that. Okay ... Small Enter is now Fn! I like that more anyway.

  • Ukraine

    Nobody reads my LiveJournal anymore, but thank you to everybody in Russia protesting Putin's insane war against Ukraine. (I know it's risky…

  • Happy Birthday!

    Happy 20th Birthday, LiveJournal! 🐐🎂🎉

  • hi

    Posting from the iPhone app. Maybe I'm unblocked now.

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.