Changeset 14279 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2018-09-29T22:52:56+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #16732 - fix support of US International keyboard layout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/KeyboardUtils.java

    r14272 r14279  
    183183                // BÉPO, https://en.wikipedia.org/wiki/Keyboard_layout#B%C3%89PO
    184184                result.add('$');
     185                if (PlatformManager.isPlatformUnixoid()) {
     186                    // X11 fr-latin9
     187                    result.add('œ');
     188                }
    185189                break;
    186190            case "sq": // Albanian
     
    297301            // Add default US QWERTY keys, https://en.wikipedia.org/wiki/QWERTY
    298302            // Works also for Dvorak, https://en.wikipedia.org/wiki/Dvorak_Simplified_Keyboard
    299             result.add('`'); // On US QWERTY, this is not a dead key
    300             result.add((char) KeyEvent.VK_DEAD_GRAVE); // On International QWERTY, this is a dead key
     303            result.add('`'); // U+0060: On US QWERTY, this is not a dead key
     304            result.add('ˋ'); // U+02CB: On International QWERTY, this is a dead key
    301305            return result;
    302306        }
Note: See TracChangeset for help on using the changeset viewer.