Get Raw Keyboard Presses[LUA]

LocalOnButtonPressed, etc… is called when mapped controls are pressed, passing in the name of the mapped control. ie. “JUMP”

Is there a way to get the raw keys/buttons that are pressed?

I think that physical mapping is hidden intentionally. If UGC used raw presses, then there’s no way for users to do key mapping, which would hurt accessibility for the game. Generally speaking, the games are normally fairly controller friendly by default because of how they have things mapped. In fact, the WASD keys don’t even get an OnButtonPressed.

1 Like

That’s what I figured. The big problem is that text boxes in widgets don’t work. I was trying build a work around. I ended up creating a virtual keyboard.

1 Like