geekhack

geekhack Community => Keyboards => Topic started by: tototo on Sun, 01 June 2014, 14:21:40

Title: Authotkey script to emulate Poker II
Post by: tototo on Sun, 01 June 2014, 14:21:40
Some time ago I ended up having to work with a regular 105 key rubberdome and missed my Poker II so much I wrote an authotkey script to replicate the Fn layer. Ended up realizing it's useful also when on the laptop and touched it up a bit to make it more presentable.

I post this here so others can make use of something I was surprised to not find. Searching found me SpaceFN and GuiFN but they are about creating new layouts whereas I am happy with the existing Poker II and just want to have the shortcuts available when not on the hardware.

https://github.com/krapula/ahk/blob/master/PokerII.ahk (https://github.com/krapula/ahk/blob/master/PokerII.ahk)
Title: Re: Authotkey script to emulate Poker II
Post by: ideus on Sun, 01 June 2014, 15:19:49
Thank you so much for sharing. I will adapt it for my needs.
Title: Re: Authotkey script to emulate Poker II
Post by: pichu23 on Sun, 01 June 2014, 15:31:58
I'd like to ask if you're poker is ANSI or ISO layout. Judging from your country I assume ISO?
I have a ANSI poker. Will it work though. I might try this out.
Title: Re: Authotkey script to emulate Poker II
Post by: tototo on Mon, 02 June 2014, 00:51:30
pichu23: It should work for either layout. Scancodes are independent of the layout language. I've tried the script on three computers with input from two laptop keyboards (ISO), Poker II (ANSI) and Ducky Mini (ISO) and it's worked well for all. I also switch between en-US and sv-SE depending on situation which was the main reason for using scancodes. That it worked across multiple computers was a bonus. Not sure about other operating systems but this works for Win7.
Title: Re: Authotkey script to emulate Poker II
Post by: pichu23 on Mon, 02 June 2014, 16:01:21
pichu23: It should work for either layout. Scancodes are independent of the layout language. I've tried the script on three computers with input from two laptop keyboards (ISO), Poker II (ANSI) and Ducky Mini (ISO) and it's worked well for all. I also switch between en-US and sv-SE depending on situation which was the main reason for using scancodes. That it worked across multiple computers was a bonus. Not sure about other operating systems but this works for Win7.
a

Ah great. I'm on Wins 8 though. But I had no problems flashing the firmware. I'll give this a go when I have the time :)