Author Topic: Question regarding remapping arrow keys via AutoHotkey on Poker 2  (Read 2866 times)

0 Members and 1 Guest are viewing this topic.

Offline psykael

  • Thread Starter
  • Posts: 7
  • Location: Califorina
Question regarding remapping arrow keys via AutoHotkey on Poker 2
« on: Tue, 30 September 2014, 01:49:57 »
Hello,

I was curious whether it would be possible to remap the arrow keys on a Poker 2 using AutoHotkey. I don't have much experience with the program myself and I was wondering if what I going to attempt to script was even possible in the first place. I was hoping to remap my keys in a similar fashion as the Poker X. If possible I would like for this function to be have a toggle feature, so I can go back and forth between using the arrows and using the keys in their default layout when needed. I would likely bind this toggle to the caps lock + left control. Ideally, I would like these changes:

Right shift -> up arrow
Fn -> left arrow
Pn -> down arrow
Right control -> left arrow
Caps lock + left control -> toggle arrow key remap/default layout

Thanks for any guidance or advice!




Offline munch

  • Posts: 507
  • Location: Канада
  • !
Re: Question regarding remapping arrow keys via AutoHotkey on Poker 2
« Reply #1 on: Tue, 30 September 2014, 11:43:28 »
I don't have a proper answer but I think I read somewhere that the PN is not possible to edit, it's not in any of my Keyboard layout tools... so it doesn't look good :(

Offline psykael

  • Thread Starter
  • Posts: 7
  • Location: Califorina
Re: Question regarding remapping arrow keys via AutoHotkey on Poker 2
« Reply #2 on: Tue, 30 September 2014, 12:14:09 »
Okay that's good to know, thanks for your response. I know I read somewhere it was possible to remap non-default keys using AHK but I've never attempted it. I'm going to also ask on the AHK fourm just to confirm whether or not this is possible.

Offline onseki

  • Posts: 10
Re: Question regarding remapping arrow keys via AutoHotkey on Poker 2
« Reply #3 on: Fri, 03 October 2014, 03:03:25 »
I could be wrong, but that was the arrangement on the Poker I. I could imagine it would get annoying, since you would not be able to get out of the toggle mode (Fn+Rshift).

This was my only hesitation in buying the board, but I figured out how to best use the Pn function. I have OKL: as arrows for gaming, which I lock with Fn+rshift) but when I'm typing, I just use right Fn to use the default WASD to move around text blocks and explorer windows. It works for me.

Offline spiceBar

  • Posts: 998
    • ChessTiger.com
Re: Question regarding remapping arrow keys via AutoHotkey on Poker 2
« Reply #4 on: Fri, 03 October 2014, 07:23:03 »
Hello,

I was curious whether it would be possible to remap the arrow keys on a Poker 2 using AutoHotkey. I don't have much experience with the program myself and I was wondering if what I going to attempt to script was even possible in the first place. I was hoping to remap my keys in a similar fashion as the Poker X. If possible I would like for this function to be have a toggle feature, so I can go back and forth between using the arrows and using the keys in their default layout when needed. I would likely bind this toggle to the caps lock + left control. Ideally, I would like these changes:

Right shift -> up arrow
Fn -> left arrow
Pn -> down arrow
Right control -> left arrow
Caps lock + left control -> toggle arrow key remap/default layout

Thanks for any guidance or advice!

It is definitely not possible.

The Fn and Pn keys do not send any keycode to the computer.

It would actually be possible by installing and soldering jumpers on the board itself, but it would be a lot of work and I don't think that's what you are looking for.

So the answer to your question is that it's not possible.

Offline psykael

  • Thread Starter
  • Posts: 7
  • Location: Califorina
Re: Question regarding remapping arrow keys via AutoHotkey on Poker 2
« Reply #5 on: Fri, 03 October 2014, 18:27:14 »
The default layout of the Poker 2 arrow keys isn't ideal but I've managed thus far. And I don't game much anymore so it isn't really an issue.

And thanks for confirming spiceBar. I recently tried to detect the scancodes for fn and pn using a keyhook in AHK and they did not return any codes when pressed--so you are totally right. Thanks for sharing what you know!

Offline spiceBar

  • Posts: 998
    • ChessTiger.com
Re: Question regarding remapping arrow keys via AutoHotkey on Poker 2
« Reply #6 on: Fri, 03 October 2014, 20:25:57 »
The default layout of the Poker 2 arrow keys isn't ideal but I've managed thus far. And I don't game much anymore so it isn't really an issue.

And thanks for confirming spiceBar. I recently tried to detect the scancodes for fn and pn using a keyhook in AHK and they did not return any codes when pressed--so you are totally right. Thanks for sharing what you know!

You should have a look at this:
  http://geekhack.org/index.php?topic=57723.0

This layout can be programmed on the Poker 2 and is an improvement over the default layout.

Offline psykael

  • Thread Starter
  • Posts: 7
  • Location: Califorina
Re: Question regarding remapping arrow keys via AutoHotkey on Poker 2
« Reply #7 on: Sat, 04 October 2014, 14:08:32 »
Very interesting layout spiceBar, I'll give it a try one of these days!