Cannot change keyboard layout

hello, guys. I have a problem with changing a keyboard layout. I connect a keyboard to my laptop and everything is ok, except changing languages. On my laptop’s keyboard I use Alt+Shift and this works, but when I do this on my keyboard(not laptop, just additional keyboard) this hotkey is not working anymore. How can I solve it?
kernel version: 5.17.2-arch3-1
Thank you

I guess you can start from getting the keys’ mapped values with xev IIRC and adjusting as needed. Either use the proper keys, or add a new keyboard layout. I would start from Archwiki.