benilla-re systems structs docs

LowerKeyIndices

function · ui · primitive

Address
0x4b7ed0 · 110 bytes, up to 0x4b7f3d
Meaning
Lowers by 1 the index of every other key of a command above the changed key's index
Confidence
verified, proof one
Finding
ui/keybindings#setting-a-binding

Finding: Setting a binding in ui: key bindings

SetBinding(key[, command]) raises unless argument 1 is a string or number. It calls 0x4b7490(3, key, command) on the live set, a missing or non-string command meaning unbind, and returns the number 1 and signals UPDATE_BINDINGS (386) on success, nil and no event on a refusal. The engine first replaces the whole-string aliases LEFTBRACKET, RIGHTBRACKET, SLASH, BACKSLASH, SEMICOLON, APOSTROPHE, COMMA, PERIOD, TILDE, PLUS and MINUS (compared without case) by [, ], /, \, ;, ', ,, ., a backquote, = and -. Then 0x4b7890 is the only thing that can refuse. The command name is never checked.

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.