That sounds very clever, Rob, although probably a bit too complicated for me...
Anyway I hope someone will make a mod that works with the type of keyboard I have. It's getting quite popular, and several other game developers have even written scripts for it.
They keys function so that you can assign lots of keystrokes to each key (macro), so that hitting that one key substitues several key presses in games etc. Sounds about like the way your mod works, if I understood it somewhat correctly.
Anyway great keyboard. Besides those keys it has an LCD display, also programmable. At default it displays RAM/CPU usage. Playing Civilization IV it displays the last 4 messages you've received, for example. It also has media controller keys and manual volume knob, which I find handy, as well as two USB ports for mouse, joystick etc...
Best thing about it though, and the reason I got it, is that the keys are lit up with a cool blue colour, so that you can play in total darkness and still see the keys clearly. It wasn't expensive either. More info
here (I'm not working for Logitech

).
Anyway, I'm drifting off-topic (again) from my own thread, but being able to program more keys to avoid the rather unfriendly user interface in Oblivion would be great.