Ignore:
Timestamp:
Oct 7, 2007, 9:44:45 PM (17 years ago)
Author:
quentin
Message:

Added control and alt checkboxes, for ease of typing modifier sequences

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/vnc/vnc_javasrc/VncCanvas.java

    r66 r128  
    8080  // True if we process keyboard and mouse events.
    8181  boolean inputEnabled;
     82  int extraModifiers = 0;
    8283
    8384  //
     
    15111512        synchronized(rfb) {
    15121513          try {
     1514            if (extraModifiers != 0) {
     1515              evt.setModifiers(evt.getModifiers() | extraModifiers);
     1516            }
    15131517            rfb.writeKeyEvent(evt);
    15141518          } catch (Exception e) {
Note: See TracChangeset for help on using the changeset viewer.