geekhack

geekhack Community => Keyboards => Topic started by: roadblock2thesun on Tue, 03 November 2009, 13:33:26

Title: Easy custom key layout?
Post by: roadblock2thesun on Tue, 03 November 2009, 13:33:26
Hey everyone,

I just had an idea that I wanted to share and maybe get some feedback on.

I have been remapping my keys trying to find an ideal layout, only to find that when I plug my keyboard into another computer, well, i have to go back to the standard layout.

I have been doing my remapping in autohotkey and noticed to day that autohotkey scripts can be packaged as executable files. I should then be able to put the executable on a flash drive and set it to autorun. If I then implant a usb hub into my keyboard, one port hooked to the keyboard, another to the flash drive, my layout should load almost instantly... right?
Title: Easy custom key layout?
Post by: keyb_gr on Tue, 03 November 2009, 13:41:44
That already exists - look up Portable Keyboard Layout.
Title: Easy custom key layout?
Post by: roadblock2thesun on Tue, 03 November 2009, 14:27:11
Thanks, that's one of the reasons I always post ideas before getting to work on them... never know when some of the work has already been done for you...
Title: Easy custom key layout?
Post by: JBert on Tue, 03 November 2009, 16:03:09
Quote from: keyb_gr;130200
That already exists - look up Portable Keyboard Layout.
Well, PKL is a nice and portable program but it does send some keypresses in a contrived way. I've seen shortcuts malfunction because of this whereas Autohotkey gets it mostly right.

Also, you'd still need to add an autorun script to make it run - AFAIK PKL doesn't supply such a thing.
Title: Easy custom key layout?
Post by: AndrewZorn on Wed, 04 November 2009, 01:50:53
i considered all this once too, but the thing about a purely automatic setup is that it will even run when you plug it back into your home computer.  if you already have something set up with AHK or windows then it is unnecessary.  i would just have the exe or whatever in the drive, enough computers bring up the "what do you want to do" that it should be pretty easy anyway.
Title: Easy custom key layout?
Post by: roadblock2thesun on Wed, 04 November 2009, 06:59:35
Good point, thanks for the suggestion.