hi guys, i have a quesion about extra keys, please help me

Announcements, questions
Post Reply
ladonna
Posts: 1
Joined: 02 Jul 2018, 07:27

hi guys, i have a quesion about extra keys, please help me

Post by ladonna » 02 Jul 2018, 07:40

Hello,

I thought that HidMacros or LuaMacros would solve my problem, but it seems I'm stuck.

I have a Sun Type 7 Keyboard which I really like (the layout, the mushy feel, and the extra keys). These keys are easily usable in anything but Windows and come configured by default in pretty much and Xorg and XFree86 version (the keyboard is backwards compatible with earlier Type 5/6). There are 11 keys to the left of the keyboard and four in the top-right hand corner for a total of 15. Here's a page I found on the net which shows the keyboard in detail:

Windows doesn't recognize the keys at all. It doesn't do anything, and HidMacros fails to scan for them or show them as last keypresses. LuaMacros example script doesn't show them either.

For what it's worth, the keyboard returns completely "normal" scan codes in that Return is 0xff0d, Tab is 0xff09, etc. Some of the extra keys send (as reported by xev under Linux):
Help: 0xff6a
Stop: 0xff69
Front: 0x1005ff71
Again: 0xff66
Undo: 0xff65
Copy: 0x1008ff57

The example script doesn't return these scan codes at all. It does report Print Screen and Pause correctly:
Not yet assigned: 44
Not yet assigned: 255
(Print Screen: 0xff68)
Not yet assigned: 19
Not yet assigned: 255
(Pause: 0xff13)

For some reason, Tab and Return are not reported with the 255:
Not yet assigned: 09 (Tab is 0xff09)
Not yet assigned: 13 (Return is 0xff0d)

Assuming that there is a way to assign macros to Print Screen and/or Pause, it should be possible to assign them to other keys. Stop is 0xff69, so should report scan codes 45 followed by 255, but it doesn't.

A couple of questions:
1. Is Windows completely blocking these keys and does it mean it is impossible to use them?
2. Is it possible to bind these keys to some macros? I don't care for the original shortcuts, I want to be able to use them for various macros.
3. Is it possible to add support for this keyboard to LuaScripts?

admin
Site Admin
Posts: 538
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: hi guys, i have a quesion about extra keys, please help me

Post by admin » 02 Jul 2018, 07:51

ad 1) I don't know
ad 2) if luamacros is not detecting the keypress you can't hook a macro for the key
ad 3) not by myself
Petr Medek
LUAmacros author

Post Reply