Author Topic: Unicomp PC122 and Windows?  (Read 4374 times)

0 Members and 1 Guest are viewing this topic.

Offline zfsscrublord

  • Thread Starter
  • Posts: 2
Unicomp PC122 and Windows?
« on: Wed, 12 October 2016, 01:39:13 »
Disclaimer: Please note that English is not my first language, I hope you'll understand what I'm trying to convey nonetheless. Thank you, honestly.

Ever since a friend of mine introduced me to the wonderful world of mechanical keyboards, I immediately realized the days I'd use rubber dome and membrane keyboards were numbered. The quest of finding the one keyboard for me had begun. I tried mechanical keyboards with all sorts of switches, including - but not limited to - most of the Cherry MX flavors. I liked Cherry MX blue switches for programming and Cherry MX red switches for playing games the most. Unfortunately all keyboards with Cherry MX switches tended to malfunction at some point for whatever reason. Keys would become stuck, but not in a mechanical way or strokes of keys I used more often than others (like WASD) stopped getting registered. I've developed a disdain towards Cherry switches, but I didn't want to go back to rubber dome or membrane keyboards either, so I did some research. Apparently the IBM Model M is some kind of the holy grail when it comes to mechanical keyboards. Too bad I wasn't even around when IBM produced them themselves. I was born too late to ever experience the glory that is a brand new IBM Model M and I read that, no matter how sturdy those buckling springs are, they'll eventually begin to feel "differently" and even refurbished Model Ms aren't quite the same. But there's hope: Unicomp, who to this very day manufacture Model Ms and such. After a lot of back and forth I decided to get a PC122 (equal to a Model F?). This is hands down the most expensive keyboard I've ever purchased (remember, I'm not from the US). Words (especially those I'm aware of) cannot begin to describe how happy I am with it. However there's one problem...

I simply cannot get the keys F13-F24 to function properly.

According to the MSDN keys F1 to F24 should have the virtual key codes 0x70 to 0x87, but on my keyboard the following is true:
Code: [Select]
Key | vkCode | Key according to MSDN
----+--------+----------------------
F13 |  0xF1  | OEM specific
F14 |  0xEA  | OEM specific
F15 |  0xF9  | Erase EOF key
F16 |  0x2F  | HELP key
F17 |  0x7C  | F13 key
F18 |  0x7D  | F14 key
F19 |  0x7E  | F15 key
F20 |  0x7F  | F16 key
F21 |  0x80  | F17 key
F22 |  0x81  | F18 key
F23 |  0x82  | F19 key
F24 |  0x83  | F20 key

I've taken the keyboard apart (without using a screwdriver, hehe) and noticed there are two jumpers (one open, one jumped) on the keyboard controller:


Removing the jumper block completely or moving it to JP1 will result in the keyboard being non-functional, ie. keystrokes are no longer being registered.

So my question is how do I get the keys on the keyboard to match their actual function in Windows? Re-mapping came to my mind, but that seemed like a "hack-ish" solution, I was hoping for a proper driver or anything.

Thanks in advance!
« Last Edit: Wed, 12 October 2016, 02:48:48 by zfsscrublord »

Offline rowdy

  • HHKB Hapster
  • * Erudite Elder
  • Posts: 21175
  • Location: melbourne.vic.au
  • Missed another sale.
Re: Unicomp PC122 and Windows?
« Reply #1 on: Wed, 12 October 2016, 04:38:35 »
Welcome to Geekhack!

There's a couple of threads about this already:

https://geekhack.org/index.php?topic=10165.0
https://geekhack.org/index.php?topic=41350.0
https://geekhack.org/index.php?topic=47999.0
https://geekhack.org/index.php?topic=67947.0
https://geekhack.org/index.php?topic=84783.0

They tend to suggest using Soarer's converter, or something like AutoHotKey to remap the keys.
"Because keyboards are accessories to PC makers, they focus on minimizing the manufacturing costs. But that’s incorrect. It’s in HHKB’s slogan, but when America’s cowboys were in the middle of a trip and their horse died, they would leave the horse there. But even if they were in the middle of a desert, they would take their saddle with them. The horse was a consumable good, but the saddle was an interface that their bodies had gotten used to. In the same vein, PCs are consumable goods, while keyboards are important interfaces." - Eiiti Wada

NEC APC-H4100E | Ducky DK9008 Shine MX blue LED red | Ducky DK9008 Shine MX blue LED green | Link 900243-08 | CM QFR MX black | KeyCool 87 white MX reds | HHKB 2 Pro | Model M 02-Mar-1993 | Model M 29-Nov-1995 | CM Trigger (broken) | CM QFS MX green | Ducky DK9087 Shine 3 TKL Yellow Edition MX black | Lexmark SSK 21-Apr-1994 | IBM SSK 13-Oct-1987 | CODE TKL MX clear | Model M 122 01-Jun-1988

Ị̸͚̯̲́ͤ̃͑̇̑ͯ̊̂͟ͅs̞͚̩͉̝̪̲͗͊ͪ̽̚̚ ̭̦͖͕̑́͌ͬͩ͟t̷̻͔̙̑͟h̹̠̼͋ͤ͋i̤̜̣̦̱̫͈͔̞ͭ͑ͥ̌̔s̬͔͎̍̈ͥͫ̐̾ͣ̔̇͘ͅ ̩̘̼͆̐̕e̞̰͓̲̺̎͐̏ͬ̓̅̾͠͝ͅv̶̰͕̱̞̥̍ͣ̄̕e͕͙͖̬̜͓͎̤̊ͭ͐͝ṇ̰͎̱̤̟̭ͫ͌̌͢͠ͅ ̳̥̦ͮ̐ͤ̎̊ͣ͡͡n̤̜̙̺̪̒͜e̶̻̦̿ͮ̂̀c̝̘̝͖̠̖͐ͨͪ̈̐͌ͩ̀e̷̥͇̋ͦs̢̡̤ͤͤͯ͜s͈̠̉̑͘a̱͕̗͖̳̥̺ͬͦͧ͆̌̑͡r̶̟̖̈͘ỷ̮̦̩͙͔ͫ̾ͬ̔ͬͮ̌?̵̘͇͔͙ͥͪ͞ͅ

Offline fohat.digs

  • * Elevated Elder
  • Posts: 6533
  • Location: 35°55'N, 83°53'W
  • weird funny old guy
Re: Unicomp PC122 and Windows?
« Reply #2 on: Wed, 12 October 2016, 07:14:54 »

to get a PC122 (equal to a Model F?).


Unicomp is equal to Model M

The Model F 122-key terminal keyboard is entirely different in every way, including the need for a converter. However, with Soarer's Converter, all the keys are alive from the start. Also, you get true N-key rollover, if that is important to you. But they do not come that way out of the box.

"However, even though I was born in the Mesozoic, I do know what anyone who wants to reach out to young people should say: Billionaires took your money. They took your chance to buy a home. They took your chance at a good education. They stole your opportunities. Billionaires took the things you want in life. If you really want those things, you have to take them back.
That's the message. That's the whole message. Say that every day, not just to reach America's frustrated young white men, but people of every age, race, and gender.
Late-stage capitalism is a wealth-concentration engine, focused on vacuuming up every dollar and putting it in as few hands as possible. Republicans are helping that vacuum suck.
How does a tiny fraction of the population get away with this? They do it by dividing the other 99% of Americans against themselves."
- Marc Sumner 2025-05-30

Offline Laurel

  • Posts: 17
Re: Unicomp PC122 and Windows?
« Reply #3 on: Wed, 12 October 2016, 08:52:56 »

Offline Tactile

  • Posts: 1439
  • Location: Portland, OR
Re: Unicomp PC122 and Windows?
« Reply #4 on: Wed, 12 October 2016, 08:59:54 »
Not all of the 122 Model M keyboards are the same and most information out there deals with the terminal type of Model M.

I have a Unicomp M122 USB and it does not send the codes that a terminal model does. F13-F24 send simple shifted keycodes. F13 is Shift-F1 F14 is Shift-F2 on up to F24 which sends Shift-F12. In Windows I use AutoHotkey to remap them to whatever I want & it works great.
REΛLFORCE

Offline zfsscrublord

  • Thread Starter
  • Posts: 2
Re: Unicomp PC122 and Windows?
« Reply #5 on: Wed, 12 October 2016, 18:00:50 »
Welcome to Geekhack!

There's a couple of threads about this already:

https://geekhack.org/index.php?topic=10165.0
https://geekhack.org/index.php?topic=41350.0
https://geekhack.org/index.php?topic=47999.0
https://geekhack.org/index.php?topic=67947.0
https://geekhack.org/index.php?topic=84783.0

They tend to suggest using Soarer's converter, or something like AutoHotKey to remap the keys.
Thanks man, much appreciated!




to get a PC122 (equal to a Model F?).


Unicomp is equal to Model M

The Model F 122-key terminal keyboard is entirely different in every way, including the need for a converter. However, with Soarer's Converter, all the keys are alive from the start. Also, you get true N-key rollover, if that is important to you. But they do not come that way out of the box.


Oh, I didn't know that. I thought PC122 = Model F, because I hadn't seen a Model M that looks like the keyboard I got, at least not on Wikipedia. It looks like this Model F on Wikipedia, so I made this false assumption. Thanks for correcting me.



Did you see this on Unicomp website?

https://support.pckeyboard.com/download_attachment.php?kb_att=55
Yes, I already saw this schematic, but it's incorrect for my keyboard. I guess it's because of what Tactile mentions in his reply.



Not all of the 122 Model M keyboards are the same and most information out there deals with the terminal type of Model M.

I have a Unicomp M122 USB and it does not send the codes that a terminal model does. F13-F24 send simple shifted keycodes. F13 is Shift-F1 F14 is Shift-F2 on up to F24 which sends Shift-F12. In Windows I use AutoHotkey to remap them to whatever I want & it works great.
If you simply want to remap them, why use AHK instead of the built-in functionality of Windows? Edit: Nevermind, the built-in functionality doesn't allow for modifier keys / key combinations to be remapped. For me F13-F24 don't just send Shift+F1-Shift+F12, so I don't need to use AHK for this.


Thanks again for all the answers guys! For now I'll simply remap the keys, but Soarer's converter looks like a decent long-term solution.
« Last Edit: Wed, 12 October 2016, 18:19:21 by zfsscrublord »