far.InputRecordToName

LuaFAR 3

far.InputRecordToName


KeyComb = far.InputRecordToName (Input)
Ctrl,Alt,Shift,Key = far.InputRecordToName (Input, true)

Parameters:
  Input:    table tInputRecord
            (Field EventType is mandatory, other fields
            are optional. If some field is missing, the default
            value of 0/false is used, except for RepeatCount
            that defaults to 1).

Returns:
  KeyComb:  string

  Ctrl:     "Ctrl", "RCtrl", or false
  Alt:      "Alt", "RAlt", or false
  Shift:    "Shift", or false
  Key:      key without key-modifiers, or false

  In the case of failure nil is returned.

Far API used:
  FarInputRecordToName