Problems with Varmilo VA88M keyboard, seems to switch to ANSI layout

Solution 1:

I fixed this problem using the program Karabiner Elements. I selected:

  • Simple Modifications tab
  • Varmilo Keyboard (AONE) target device
  • Created a new mapping from grave_accent_and_tilde (`) to non_us_backslash
  • Created another mapping from non_us_backslash to grave_accent_and_tilde (`).

This fixed the keyboard mapping issue both on the MacBook internal and external keyboard.