geekhack

geekhack Community => Keyboards => Topic started by: SmallFry on Thu, 07 July 2011, 17:19:20

Title: Model M Macroing
Post by: SmallFry on Thu, 07 July 2011, 17:19:20
As soon as my birthday money comes through, I'll be purchasing a Model M off a guy... Does anyone have any idea how to maybe reprogram the F keys for macros or add a logic board and switch to switch between macro mode and regular mode. I'll have an open USB port if that would help.
Title: Model M Macroing
Post by: theferenc on Thu, 07 July 2011, 17:55:41
Welcome to Geekhack!

You could replace the controller with a teensy based one, if you want layers. You can use AutoHotKey (AHK) if you want to just macro the F keys.

And you can buy a 1397000 if you want LOTS of keys to macro, but the layout is more ISO (European) than ANSI (American). That can be fixed, though.
Title: Model M Macroing
Post by: SmallFry on Thu, 07 July 2011, 19:50:37
AutoHotKey is only windows though...im looking for cross platform macro's so i can type replies to emails quickly and efficiently. It'd also help when I show off my model m mods to my non modder friends.
Title: Model M Macroing
Post by: theferenc on Thu, 07 July 2011, 20:18:30
Ah, ok. What platforms do you need? I know how to do it with linux, os x, and windows, but not any of the more fringe platforms.

If you want it stored in the keyboard itself, the only way I know of to do that is by a controller swap, and a teensy replacement. And you'll have to add non-volatile storage to the teensy, to store the macros, as well. Unless you hard code them, of course.
Title: Model M Macroing
Post by: SmallFry on Thu, 07 July 2011, 20:34:46
hmmm...whole controller swap...maybe with one after i get my very first keyboard done... thanks theferenec
Title: Model M Macroing
Post by: theferenc on Thu, 07 July 2011, 21:11:52
Oh, I didn't think about this (which is weird, since I'm using it), but the other option is an inline adapter. Use something like Hasu's teensy based PS/2-USB adapter, and program the macros in there. Then they would be usable with any PS/2 based keyboard, as well, not just the Model M.
Title: Model M Macroing
Post by: SmallFry on Thu, 07 July 2011, 21:58:49
and then i could use that as an internal usb conversion yes?
Title: Model M Macroing
Post by: theferenc on Thu, 07 July 2011, 22:29:16
Yup, you would connect the keyboard to it via PS/2 and it to the computer via USB.

http://geekhack.org/showwiki.php?title=Island:14618