Ticket #1928: v1_escape_cancel.diff

File v1_escape_cancel.diff, 1.2 KB (added by Josh, 11 years ago)
  • 0ad/binaries/data/mods/public/gui/session/input.js

     
    10361036        recalculateStatusBarDisplay();
    10371037    }
    10381038
     1039    if (ev.hotkey == "selection.cancel")
     1040        g_Selection.reset();
    10391041    // State-machine processing:
    10401042
    10411043    switch (inputState)
  • 0ad/binaries/data/config/default.cfg

     
    207207hotkey.selection.add = Shift                ; Add units to selection
    208208hotkey.selection.milonly = Alt              ; Add only military units to selection
    209209hotkey.selection.remove = Ctrl              ; Remove units from selection
     210hotkey.selection.cancel = Esc               ; Un-select all units
    210211hotkey.selection.idleworker = Period        ; Select next idle worker
    211212hotkey.selection.idlewarrior = Comma        ; Select next idle warrior
    212213hotkey.selection.offscreen = Alt            ; Include offscreen units in selection