Created by: TN8001
This was translated by a machine.
Description
Starting with Processing 4.0 Beta 2, some keys can't be entered with the on-screen keyboard.
Steps to Reproduce
Open On-Screen Keyboard (Ctrl + Windows + O)
I can enter it.
alphabet symbol numeric Tab Enter Space etc.
I can't enter it.
BS Del arrow keys Home PgUp etc.
Your Environment
- Processing version: 4.0b2, 4.0b5
- Operating System and OS version: Windows10
Possible Causes / Solutions
Since getModifiers() was changed to getModifiersEx() in #67, the BUTTON1_DOWN_MASK flag is included.
I don't think there is a combination with mouse buttons for now or probably in the future, so remove the mouse button mask flag?
int modifiers = evt.getModifiersEx();
for (int i = 0; i < MouseInfo.getNumberOfButtons(); i++) {
modifiers &= ~InputEvent.getMaskForButton(i + 1);
}
Created by: TN8001
This was translated by a machine.
Description
Starting with Processing 4.0 Beta 2, some keys can't be entered with the on-screen keyboard.
Steps to Reproduce
Open On-Screen Keyboard (
Ctrl+Windows+O)I can enter it.
alphabet symbol numeric
TabEnterSpaceetc.I can't enter it.
BSDelarrow keysHomePgUpetc.Your Environment
Possible Causes / Solutions
Since
getModifiers()was changed togetModifiersEx()in #67, theBUTTON1_DOWN_MASKflag is included.I don't think there is a combination with mouse buttons for now or probably in the future, so remove the mouse button mask flag?