Author Topic: How do I identify what each key does on a Model M 122-key?  (Read 1129 times)

0 Members and 1 Guest are viewing this topic.

Offline berserkfan

  • Thread Starter
  • Posts: 2135
  • Location: Not CONUS Not CONUS Not CONUS Not CONUS
  • changing diapers is more fun than model f assembly
How do I identify what each key does on a Model M 122-key?
« on: Sat, 03 August 2013, 11:37:37 »
Hello Everyone!

Since I haven't been able to get hold of a Model F 122-key, I finally broke out my Lexmark Model M 122 key that I was originally keeping new in box. And I am HORRIFIED. I can't find my way around! There are a lot of keycaps that don't match their actual functions, and I haven't been able to find numlock.

I heard from someone that numlock, on a terminal keyboard, is actually hidden under some layer.

I remember reading that there is a software that can analyze your keyboard for you, telling you what each key is and what they are even with layers like shift and ctrl. Does anyone know abut that?

I have autohotkey, so I just need to identify exactly what scancode each key sends and also if the key sends a different scancode when triggered by a modifier such as shift. Once I can figure that out, remapping via autohotkey is straightforward.

Right now I don't have soarer's teensy, so I'm afraid I am stuck. But I just ordered the teensies; am just waiting for shipment from the US. Surely they can translate Terminal Code Set 3 (or whatever this is called) to something a modern computer can recognize.

In the meantime, I eagerly await everyone's advice!
Most of the modding can be done on your own once you break through the psychological barriers.

Offline jwaz

  • * based mod
  • Posts: 2069
  • #geekhack on freenode
Re: How do I identify what each key does on a Model M 122-key?
« Reply #1 on: Mon, 05 August 2013, 10:21:09 »
http://geekhack.org/index.php?topic=34670.msg641440#msg641440

You can find aquas keys test in this thread above, I think that might be what you're looking for.

Offline Halvar

  • Posts: 403
  • Location: Germany
Re: How do I identify what each key does on a Model M 122-key?
« Reply #2 on: Mon, 05 August 2013, 10:39:14 »
I'd say if you're getting the converter anyway it doesn't make too much sense to try to connect it directly first.

Just wait until you have the teensy, and read this post for which keys you need to remap:

http://deskthority.net/post120632.html#p120632


Offline mich

  • Posts: 156
Re: How do I identify what each key does on a Model M 122-key?
« Reply #3 on: Mon, 05 August 2013, 13:53:26 »
122k boards misinterpreted as scancode set 2 behave kinda like a Model F AT.

So numlock is keypad / and scrolllock is keypad *.

Alternatively, you can use this table

Offline fohat.digs

  • * Elevated Elder
  • Posts: 6471
  • Location: 35°55'N, 83°53'W
  • weird funny old guy
Re: How do I identify what each key does on a Model M 122-key?
« Reply #4 on: Mon, 05 August 2013, 14:09:27 »
Soarer included a very useful chart in his Teensy Converter documentation that is easier for the lay person to understand.
Citizens United violates the essence of what made America a great country in its political system. Now it’s just an oligarchy, with unlimited political bribery being the essence of getting the nominations for president or to elect the president.
So now we’ve just seen a complete subversion of our political system as a payoff to major contributors, who want and expect and sometimes get favors for themselves after the election’s over.”
- Jimmy Carter 2015

Offline berserkfan

  • Thread Starter
  • Posts: 2135
  • Location: Not CONUS Not CONUS Not CONUS Not CONUS
  • changing diapers is more fun than model f assembly
Re: How do I identify what each key does on a Model M 122-key?
« Reply #5 on: Tue, 06 August 2013, 03:50:39 »
Nice of you to give the link, but it's a bit complicated for me to understand.

In any case, as mentioned in the post I can identify scancodes returned with ahk. But to identify additional scancodes that the keyboard can send (eg when left shift is pressed down, or when scrolllock is activated, whatever) is going to be a project of incredible trial-and-error frustration exacerbated by me having already remapped some of the keys to make them usable. So I will rather have some software do it systematically.

Anyway, fohat, nice to hear that soarer has documentation. My teensies should be coming in soon...

122k boards misinterpreted as scancode set 2 behave kinda like a Model F AT.

So numlock is keypad / and scrolllock is keypad *.

Alternatively, you can use this table
Most of the modding can be done on your own once you break through the psychological barriers.

Offline mich

  • Posts: 156
Re: How do I identify what each key does on a Model M 122-key?
« Reply #6 on: Tue, 06 August 2013, 07:32:48 »
But to identify additional scancodes that the keyboard can send (eg when left shift is pressed down, or when scrolllock is activated, whatever) is going to be a project of incredible trial-and-error frustration exacerbated by me having already remapped some of the keys to make them usable.
It's going to be a simple project with simple result - there are no such scancodes and every physical key produces a single scancode. Set 3 doesn't have such PC-style braindamage.
« Last Edit: Tue, 06 August 2013, 07:37:39 by mich »

Offline fohat.digs

  • * Elevated Elder
  • Posts: 6471
  • Location: 35°55'N, 83°53'W
  • weird funny old guy
Re: How do I identify what each key does on a Model M 122-key?
« Reply #7 on: Tue, 06 August 2013, 09:36:03 »
Anyway, fohat, nice to hear that soarer has documentation. My teensies should be coming in soon...

When you have a Teensy, you can forget all that other stuff and program your changes directly into the Teensy using wcass's method.
Citizens United violates the essence of what made America a great country in its political system. Now it’s just an oligarchy, with unlimited political bribery being the essence of getting the nominations for president or to elect the president.
So now we’ve just seen a complete subversion of our political system as a payoff to major contributors, who want and expect and sometimes get favors for themselves after the election’s over.”
- Jimmy Carter 2015