-
-
Notifications
You must be signed in to change notification settings - Fork 119
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
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);
}Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed