Archive for October, 2008

Swapping the Alt and Windows keys on a USB keyboard under Mac OS X

Friday, October 24th, 2008

I was making things too hard again.  The mac control panel lets you swap modifier keys on a per-keyboard basis.  That’s enough to solve the problem of the Apple and Option keys being backwards on a USB windows keyboard when used with a mac.  (I had given up on using the control panel stuff before because it can’t do arbitrary key remapping.)

OpenGL woes on a MacBook Pro running Vista

Thursday, October 23rd, 2008

Let’s keep this short:  hooray for Mobility Modder!  It seems that Apple only distributes quite old ATI drivers with their Boot Camp updates, and this was crashing at least one OGL program I was developing.  Like most other notebook manufacturers, Apple also prohibits ATI from allowing their “reference drivers” (read: “most up-to-date/fast/stable drivers”) to be installed on Apple hardware.  That’s where mobility modder comes in, providing an app to modify the latest ATI driver distribution to run on most notebooks.

So my code is working again.. yay!  Now if only I could get back the 8 hours or so I spent debugging Apple’s driver update policies.

BTW, I wonder if this would also fix a crash I was having with FXComposer…

Boot Camp keyboard layout woes

Thursday, October 16th, 2008

It’s only taken me 4 hours, but I’ve finally got my MacBook Pro’s japanese keyboard acting like a … japanese keyboard.  At some point in the recent past, Vista decided that the keyboard layout was really US, so colons, @ marks, and lots of other keys were mixed up.  I still have no idea what caused it, but this registry hack has restored order to the world, for now.  I want half my day back.