Need help with IBM Model F soarers converter configuration

Fkazim

13 Apr 2019, 14:29

So I have been happily using my IBM Model F AT Keyboard after restoring it I did make a restoration log post on DESKTHORITY go check it out if want. Anyway I wanted to know if it would be possible to have ctrl plus all the keys below for different media keys.

1 I want to be volume mute

2 I want to be volume down

3 I want to be volume up

4 I want to be play/pause

5 I want to be rewind

6 I want to be fast forward

Just to clarify the number keys im talking about are not the ones on the num pad.

Please any support would be great in determining if this would be possible Thanks.

User avatar
AJM

13 Apr 2019, 23:24

I didn't get my Model F "out of storage" to test it, but this should be the necessary commands for the programing of the keys 1 - 4. I couldn't find any key codes for fast forward or rewind, though. (All I see are "previous track" and "next track".)

Code: Select all

macroblock

  macro 1 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    PRESS MEDIA_MUTE
    POP_ALL_META
  endmacro

  macro 2 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    MAKE MEDIA_VOLUME_DOWN
   onbreak
    BREAK MEDIA_VOLUME_DOWN
    POP_ALL_META
  endmacro

  macro 3 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    MAKE MEDIA_VOLUME_UP
   onbreak
    BREAK MEDIA_VOLUME_UP
    POP_ALL_META
  endmacro

  macro 4 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    PRESS MEDIA_PLAY_PAUSE
    POP_ALL_META
  endmacro

endblock

Fkazim

14 Apr 2019, 02:35

OK Thanks very much for the code I will try it and let you know whether all is good really appreciate the help.

would this code be possible too?

ctrl + f9 will give you f11

ctrl + f10 will give you f12

Thanks.

Fkazim

14 Apr 2019, 02:48

I tried the Code you gave me:

macro 1 CTRL -SHIFT -ALT -GUI
PUSH_META CLEAR_META all
DELAY 5
PRESS MEDIA_MUTE
POP_ALL_META
endmacro

macro 2 CTRL -SHIFT -ALT -GUI
PUSH_META CLEAR_META all
DELAY 5
MAKE MEDIA_VOLUME_DOWN
onbreak
BREAK MEDIA_VOLUME_DOWN
POP_ALL_META
endmacro

macro 3 CTRL -SHIFT -ALT -GUI
PUSH_META CLEAR_META all
DELAY 5
MAKE MEDIA_VOLUME_UP
onbreak
BREAK MEDIA_VOLUME_UP
POP_ALL_META
endmacro

macro 4 CTRL -SHIFT -ALT -GUI
PUSH_META CLEAR_META all
DELAY 5
PRESS MEDIA_PLAY_PAUSE
POP_ALL_META
endmacro

endblock

The error I kept getting I have attached an image please let me know your thoughts on that error Thanks in advance for your help.
Attachments
IBM Model F Error code.PNG
IBM Model F Error code.PNG (8.95 KiB) Viewed 528 times

User avatar
AJM

14 Apr 2019, 15:03

So I've tested it with my Model F XT now and it works fine.
I don't think it matters if it's an AT or XT in this case.

In your post you left out the first line "macroblock". But that can't be the reason, because then the error message would complain about line 1 or 2 and not 20.
But is there really not other code apart from mine in your config file? If there is, please post the complete file content.

For the F-keys you mentioned, include this between "macroblock" and "endblock":

Code: Select all

  macro F9 CTRL
    PUSH_META CLEAR_META CTRL
    PRESS F11
    POP_ALL_META
  endmacro

  macro F10 CTRL
    PUSH_META CLEAR_META CTRL
    PRESS F12
    POP_ALL_META
  endmacro

Fkazim

14 Apr 2019, 18:50

Thanks again for the input unfortunately I won't be able to get you the complete code until 2 weeks to e as I am on holiday but will post the code basically my code has all sorts of other remapping to allow my AT to have a standard UK ISO Layout and also remapping caps lock scroll lock, NUM lock and print screen.

Will send you full code when I am back though.

Fkazim

29 Apr 2019, 01:56

Back from holiday now here is the full keyboard code i use to get my desired layout:

remapblock
FAKE_02 LALT # extra pad lhs of space
FAKE_04 RALT # extra pad rhs of space
FAKE_05 EUROPE_1 # extra pad lhs of enter
FAKE_06 BACKSLASH # extra pad top of enter
FAKE_07 F11 # extra pad lhs of insert
LALT LCTRL
INTERNATIONAL_2 EUROPE_2 # extra pad rhs of left shift
#INTERNATIONAL_1 F13 # extra pad lhs of right shift
F11 F14 # extra pad bottom of numpad +
BACK_QUOTE ESC
EXTRA_SYSRQ SCROLL_LOCK
SCROLL_LOCK PAD_ASTERIX
PAD_ASTERIX PRINTSCREEN
ESC NUM_LOCK
NUM_LOCK PAD_SLASH
CAPS_LOCK LALT
LCTRL CAPS_LOCK
EXTRA_EUROPE_2 BACKSLASH # HASH KEY Next to enter
endblock

Really hope you can help me in figuring out what I am doing wrong Thanks.

User avatar
AJM

29 Apr 2019, 10:06

Everything's ok. You probably just left out the first line from my code example.

Here's everything in one piece:

Code: Select all

remapblock
FAKE_02	LALT	# extra pad lhs of space
FAKE_04	RALT	# extra pad rhs of space
FAKE_05	EUROPE_1	# extra pad lhs of enter
FAKE_06	BACKSLASH	# extra pad top of enter
FAKE_07	F11	# extra pad lhs of insert
LALT	LCTRL
INTERNATIONAL_2	EUROPE_2	# extra pad rhs of left shift
#INTERNATIONAL_1	F13	# extra pad lhs of right shift
F11	F14	# extra pad bottom of numpad +
BACK_QUOTE	ESC
EXTRA_SYSRQ	SCROLL_LOCK
SCROLL_LOCK	PAD_ASTERIX
PAD_ASTERIX	PRINTSCREEN
ESC	NUM_LOCK
NUM_LOCK	PAD_SLASH
CAPS_LOCK	LALT
LCTRL	CAPS_LOCK
EXTRA_EUROPE_2	BACKSLASH # HASH KEY Next to enter
endblock

macroblock

  macro 1 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    PRESS MEDIA_MUTE
    POP_ALL_META
  endmacro

  macro 2 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    MAKE MEDIA_VOLUME_DOWN
   onbreak
    BREAK MEDIA_VOLUME_DOWN
    POP_ALL_META
  endmacro

  macro 3 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    MAKE MEDIA_VOLUME_UP
   onbreak
    BREAK MEDIA_VOLUME_UP
    POP_ALL_META
  endmacro

  macro 4 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    PRESS MEDIA_PLAY_PAUSE
    POP_ALL_META
  endmacro

  macro F9 CTRL
    PUSH_META CLEAR_META CTRL
    PRESS F11
    POP_ALL_META
  endmacro

  macro F10 CTRL
    PUSH_META CLEAR_META CTRL
    PRESS F12
    POP_ALL_META
  endmacro

endblock

Fkazim

29 Apr 2019, 17:54

wow thanks a lot it all worked perfectly really appreciate it

Fkazim

29 Apr 2019, 17:57

one last thing i have remapped esc to where the ¬ and ` and ¦ symbol key would be how would i go about making a macro where left shift+esc would output the ¬ key and ctrl+esc would give me ` symbol and right shift+esc would give me ¦ symbol if you could let me know if and how that would be done I would really appreciate it I am such a noob with soarers configuration.

Thanks for all the help.

User avatar
AJM

29 Apr 2019, 19:22

No problem.
Since I don't use the Model F as a daily driver, it's nice to get it out from time to time for some macro programming.

Code: Select all

remapblock
FAKE_02	LALT	# extra pad lhs of space
FAKE_04	RALT	# extra pad rhs of space
FAKE_05	EUROPE_1	# extra pad lhs of enter
FAKE_06	BACKSLASH	# extra pad top of enter
FAKE_07	F11	# extra pad lhs of insert
LALT	LCTRL
INTERNATIONAL_2	EUROPE_2	# extra pad rhs of left shift
#INTERNATIONAL_1	F13	# extra pad lhs of right shift
F11	F14	# extra pad bottom of numpad +
BACK_QUOTE	ESC
EXTRA_SYSRQ	SCROLL_LOCK
SCROLL_LOCK	PAD_ASTERIX
PAD_ASTERIX	PRINTSCREEN
ESC	NUM_LOCK
NUM_LOCK	PAD_SLASH
CAPS_LOCK	LALT
LCTRL	CAPS_LOCK
EXTRA_EUROPE_2	BACKSLASH # HASH KEY Next to enter
endblock

macroblock

  macro 1 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    PRESS MEDIA_MUTE
    POP_ALL_META
  endmacro

  macro 2 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    MAKE MEDIA_VOLUME_DOWN
   onbreak
    BREAK MEDIA_VOLUME_DOWN
    POP_ALL_META
  endmacro

  macro 3 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    MAKE MEDIA_VOLUME_UP
   onbreak
    BREAK MEDIA_VOLUME_UP
    POP_ALL_META
  endmacro

  macro 4 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    PRESS MEDIA_PLAY_PAUSE
    POP_ALL_META
  endmacro

  macro F9 CTRL
    PUSH_META CLEAR_META CTRL
    PRESS F11
    POP_ALL_META
  endmacro

  macro F10 CTRL
    PUSH_META CLEAR_META CTRL
    PRESS F12
    POP_ALL_META
  endmacro

  macro ESC LSHIFT
    PRESS BACK_QUOTE
  endmacro

  macro ESC CTRL
    PUSH_META CLEAR_META CTRL
    PRESS BACK_QUOTE
    POP_ALL_META
  endmacro

  macro ESC RSHIFT
    PUSH_META CLEAR_META RSHIFT
    SET_META RALT
    PRESS BACK_QUOTE
    POP_ALL_META
  endmacro

endblock

Fkazim

29 Apr 2019, 20:35

All working but the control+esc is very finicky as in it works but you have to time hold the control down for a certain amount of time and even then you cannot click it repeatedly any idea why that might be and would the problem go away if we change it to tab+esc?

Again Thanks for the help.

User avatar
AJM

29 Apr 2019, 21:00

Ah, ok, sorry, the Alt/Ctrl key seems to create some chatter. So it's often good to include some "DELAY" after the PUSHING/CLEARING of METAs.
I've also changed it, so that the characters come repeatedly, if you hold the key:

Code: Select all

remapblock
FAKE_02	LALT	# extra pad lhs of space
FAKE_04	RALT	# extra pad rhs of space
FAKE_05	EUROPE_1	# extra pad lhs of enter
FAKE_06	BACKSLASH	# extra pad top of enter
FAKE_07	F11	# extra pad lhs of insert
LALT	LCTRL
INTERNATIONAL_2	EUROPE_2	# extra pad rhs of left shift
#INTERNATIONAL_1	F13	# extra pad lhs of right shift
F11	F14	# extra pad bottom of numpad +
BACK_QUOTE	ESC
EXTRA_SYSRQ	SCROLL_LOCK
SCROLL_LOCK	PAD_ASTERIX
PAD_ASTERIX	PRINTSCREEN
ESC	NUM_LOCK
NUM_LOCK	PAD_SLASH
CAPS_LOCK	LALT
LCTRL	CAPS_LOCK
EXTRA_EUROPE_2	BACKSLASH # HASH KEY Next to enter
endblock

macroblock

  macro 1 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    PRESS MEDIA_MUTE
    POP_ALL_META
  endmacro

  macro 2 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    MAKE MEDIA_VOLUME_DOWN
   onbreak
    BREAK MEDIA_VOLUME_DOWN
    POP_ALL_META
  endmacro

  macro 3 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    MAKE MEDIA_VOLUME_UP
   onbreak
    BREAK MEDIA_VOLUME_UP
    POP_ALL_META
  endmacro

  macro 4 CTRL -SHIFT -ALT -GUI
    PUSH_META CLEAR_META all
    DELAY 5
    PRESS MEDIA_PLAY_PAUSE
    POP_ALL_META
  endmacro

  macro F9 CTRL
    PUSH_META CLEAR_META CTRL
    DELAY 5
    PRESS F11
    POP_ALL_META
  endmacro

  macro F10 CTRL
    PUSH_META CLEAR_META CTRL
    DELAY 5
    PRESS F12
    POP_ALL_META
  endmacro

  macro ESC LSHIFT
    MAKE BACK_QUOTE
   onbreak
    BREAK BACK_QUOTE
  endmacro

  macro ESC CTRL
    PUSH_META CLEAR_META CTRL
    DELAY 5
    MAKE BACK_QUOTE
   onbreak
    BREAK BACK_QUOTE
    POP_ALL_META
  endmacro

  macro ESC RSHIFT
    PUSH_META CLEAR_META RSHIFT
    SET_META RALT
    DELAY 5
    MAKE BACK_QUOTE
   onbreak
    BREAK BACK_QUOTE
    POP_ALL_META
  endmacro

endblock

Fkazim

29 Apr 2019, 22:42

All working now although when I first uploaded the configuration you gave me the computer was acting really weird and the tab key acted like it was continually pressed but after restart of my PC all seems good :D

Thanks for all the help.

Post Reply

Return to “Keyboards”