chickadee » glfw3 » char-mods-callback


Called when character is entered, but also includes modifiers that were active when the character was entered. Expects a function with the signature (lambda (WINDOW CHAR MODS) ...). WINDOW is the affected window, and CHAR is the unicode code point of the character, MODS is the bitfield of the modifiers that were active.