Jump to content

User:PerfektesChaos/js/keyboardMapper/Test

From Wikipedia, the free encyclopedia

Test cases for keyboardMapper gadget.

Installation Check

[edit]
  1. Follow the instructions at keyboardMapper #Usage.
    • Insert Example code code into any relevant user JS page, or inject into current pages by means of browser JS specification.
  2. Open maintenance page
    • Purpose and version information should be provided.
    • The last section should contain a table with two empty fields.
      • Strike regular keys like a, A, y, Z – something should change within this table.
      • If not, the browser version or poliy won’t support this gadget.
      • Try F1, F2 key; try numpad keys (with NumLock).
    • If definitions for paticular keys were provided, they should be listed in a table above.

String insertion

[edit]
  1. Define some keystroke mapping into arbitrary text.
  2. Open WP:Sandbox for source code editing.
  3. Focus on text editing and try mapped keystroke.

The arbitrary text should be inserted now instead.