Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

This option allows for providing alternate key combinations for the System Request, Attention, Help, Clear, and Print keys in Genie. The option is set to an object which contains property names which match to the key names 'SYSRQ', 'ATTN', 'HELP', 'CLEAR' and 'PRINT'. The key names are not case-sensitive.

...

Code Block
javascript
javascript

pui.genie.config.keyMap = {

  "sysrq": { // This is the default System Request key mapping, SHIFT+ESCAPE

    "code": 27,
    "shift": true

  },
  "attn": { // This is the default Attention key mapping, ESCAPE.

    "code": 27

  },
  "help": { // This is the default Help key mapping, ALT+F1.

    "code": 112,
    "alt": true

  },
  "clear": { // This is the default CLEAR key mapping, Pause/Break.

    "code": 19

  },
  "print": { // Example mapping for Print Key, CTRL+ALT+F1; there is no default mapping assigned.

    "code": 112,
    "alt": true,
    "ctrl": true

  }

}

...