Kind folks -- can anyone tell me how to detect when the return key has been pressed on the keyboard? I found a few sample codes to detect the backspace (simple enough!) but the return key eludes me.
Thanks for any help!
--R
Simeon, thanks as always -- I'll give it a try!
@simeon: what if showKeyboard() and hideKeyboard() merged into single keyboard(visible: boolean) function? Visible param is to set the keyboard appearance. If no param supplied, the function returns the current keyboard appearance state.
Hence, the keyboard() event-loop need to be renamed, for example keypressed() or keytouched(). But this will create incompatibility with old code that relies on keyboard() function.
It looks like you're new here. If you want to get involved, click one of these buttons!