Yes, each saved connection remembers the last used keycode. The default keycode is Windows. If you use the Switch OS feature to change the keycode to macOS, you can use it again to switch back to Windows.