Restricting cAPSLOCK in game?

I don’t want the keyboard to cAPSLOCK when the key is pressed during gameplay.

Hey there @anon58292963! So disabling caps lock isn’t so straight forward. It’s an event processed on the computer itself, for unreal to capture these inputs and disable it, you’d have to do it from the engine code level, I don’t think there’s any built in feature on the blueprint side.

You could in theory use the C++ FInputEvent::AreCapsLocked | Unreal Engine Documentation to detect if caps are currently down, but you’d still need a way to set it on the computer side itself.

My recommendation is to ignore it if at all possible.

1 Like

Thanks, I’ve just seen some games like Apex that lock your caps key but they are using a different engine.