Adding lock shift to xbox

I’m currently working on a game that has a combat system. I added mobile support and Xbox support. But something stumped me when I tried editing the PlayerModule(MouseLockController). I couldn’t use shift lock on Xbox when making a custom keybind.

What I’m looking for is a solution to fix this issue. I checked many times to see if there were output errors, but none showed up. Maybe because of roblox’s new updates, but I’m unsure of it.

Any ideas and help would be highly appreciated and I’ll respond accordingly.

If the shiftlock keybind checker uses and if statement to check the keycode, then add an “and” statement to it and check for whatever key you want it to be on Xbox.