The switching is ALWAYS software. On Yamaha, on Soviet computers the switching mechanism was software based. It is just that the keyboard had special keys for switching layout and more alphabetic keys. Now the US standard considers that switching is not necessary. You have keys for scroll lock, for context menu, for main menu, for sleep and wake up etc etc - but not for layout switching.