I have the left panel Extra_F1, Extra_F2.... mapping to some unconventional key codes and asking if the is a fix to get them tot he standard key codes?
Currently
EXTRA_F1 = B1
EXTRA_F2 = 73
EXTRA_F3 = B3
EXTRA_F4 = 48
EXTRA_F5 = B4
EXTRA_F6 = 71
EXTRA_F7 = 46
EXTRA_F8 = C1
EXTRA_F9 = B5
EXTRA_F10 = 70
IBM Model F Part 1397000 - key mapping
-
- Location: Louisiana
- Main keyboard: IBM 122
- Main mouse: any
- Favorite switch: any
This is using Hid_listen to get the codes. Then after the codes, I would remap the keys
-
- Location: United States
- Main keyboard: OmniKey 102
- Favorite switch: Tie between Blue Alps and SMK Cherry
Use EasyHidListen to get the exact key names to input into the Soarer's remap file https://github.com/adamhb123/EasyHIDListen
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
hid_listen grew up? Much better! 
I pasted Soarer's docs into my 64 bit Mac port thread. Quoting the relevant sections here:
Name HID Code Description
PRINTSCREEN 0x46 Print Screen
SCROLL_LOCK 0x47 Scroll Lock
PAUSE 0x48 Pause
F21 0x70 F21
F22 0x71 F22
F23 0x72 F23
F24 0x73 F24
FAKE_01 0xB0 extra
FAKE_02 0xB1 AT-F extra pad lhs of space
FAKE_03 0xB2 Term extra pad bottom of keypad +
FAKE_04 0xB3 AT-F extra pad rhs of space
FAKE_05 0xB4 AT-F extra pad lhs of enter
FAKE_06 0xB5 AT-F extra pad top of enter
FAKE_07 0xB6 AT-F extra pad lhs of Insert
So your keys are FAKE and you know it.

I pasted Soarer's docs into my 64 bit Mac port thread. Quoting the relevant sections here:
Name HID Code Description
PRINTSCREEN 0x46 Print Screen
SCROLL_LOCK 0x47 Scroll Lock
PAUSE 0x48 Pause
F21 0x70 F21
F22 0x71 F22
F23 0x72 F23
F24 0x73 F24
FAKE_01 0xB0 extra
FAKE_02 0xB1 AT-F extra pad lhs of space
FAKE_03 0xB2 Term extra pad bottom of keypad +
FAKE_04 0xB3 AT-F extra pad rhs of space
FAKE_05 0xB4 AT-F extra pad lhs of enter
FAKE_06 0xB5 AT-F extra pad top of enter
FAKE_07 0xB6 AT-F extra pad lhs of Insert
So your keys are FAKE and you know it.

- sharktastica
- Location: Wales
- Main keyboard: '86 IBM F Bigfoot + '96 IBM M50
- Main mouse: Logitech MX Revolution
- Favorite switch: Cap B/S, BOX Navy
- Contact:
Hi!
For some context: P/N 1397000 is not an ordinary 122-key Model M (it's not a Model F, just FYI), it's an IBM PS/2 Host Connected Keyboard, a terminal emulator model (Type IV 122-key Model M) and as such has different default mappings to terminal-only 122-key Model Ms and Soarer's doesn't enumerate EXTRA_F... as you might expect. On an original compliant host system/software, I believe the keyboard could be switched from an "emulator mode" to "host mode" (which would function like a terminal keyboard), but even if correct, Soarer's Converter cannot trigger such change. You can remap it though - see below the conversion for its "extra F-key" bank to what a terminal model would have.
You can simply adapt that code by changing "EXTRA_F..." to whatever you want, or use it as-is for macros! You may notice I've remapped some 'standard' F-keys above, which is because the F13-F24 also doesn't output scancodes as you may expect and F21, F22 and F24 are actually in the EXTRA_F... key bank. If you want to fix the F13-F24 row as well, here's the conversion to correct that if you need.
Hope that helps! For future reference, EasyHIDListen that Meowmaritus mentioned would have given you those key codes names easily. If you're not using Windows, HID_listen plus looking up the output in the codes.html file in Soarer's documentation would do the same job as well. I just happened to have those snippets ready to go since I have such keyboards that need them.
For some context: P/N 1397000 is not an ordinary 122-key Model M (it's not a Model F, just FYI), it's an IBM PS/2 Host Connected Keyboard, a terminal emulator model (Type IV 122-key Model M) and as such has different default mappings to terminal-only 122-key Model Ms and Soarer's doesn't enumerate EXTRA_F... as you might expect. On an original compliant host system/software, I believe the keyboard could be switched from an "emulator mode" to "host mode" (which would function like a terminal keyboard), but even if correct, Soarer's Converter cannot trigger such change. You can remap it though - see below the conversion for its "extra F-key" bank to what a terminal model would have.
Code: Select all
remapblock
EXTRA_LALT EXTRA_F1
F24 EXTRA_F2
EXTRA_RALT EXTRA_F3
PAUSE EXTRA_F4
EXTRA_EUROPE_2 EXTRA_F5
F22 EXTRA_F6
PRINTSCREEN EXTRA_F7
FAKE_18 EXTRA_F8
EXTRA_BACKSLASH EXTRA_F9
F21 EXTRA_F10
endblock
Code: Select all
remapblock
EXTRA_PAD_PLUS F13
INTERNATIONAL_6 F14
EXTRA_F1 F15
EXTRA_F7 F16
F13 F17
F14 F18
F15 F19
F16 F20
F17 F21
F18 F22
F19 F23
F20 F24
endblock