// True if we process keyboard and mouse events.
boolean inputEnabled;
- int extraModifiers = 0;
//
// The constructors.
// Input enabled.
synchronized(rfb) {
try {
- if (extraModifiers != 0) {
- evt.setModifiers(evt.getModifiers() | extraModifiers);
- }
rfb.writeKeyEvent(evt);
} catch (Exception e) {
e.printStackTrace();