In the normal layout, you can edit the modifier state and keysyms of each key. You can select the normal layout by clicking Normal Layout in the View menu.

Keyboard Editor Edit Mode, Normal Layout

Each key on the keyboard has a name, keycode, scancode, keysym, and modifier state. The name, keycode, and scancode are predefined in Xmanager, and those values cannot be changed by the user. You can edit only the modifier state and keysym values.

A scancode is a hardwired code generated from a key and it is defined by the keyboard manufacturer.

A keycode is a unique number assigned to a key. It should be in the range between 8 and 255 by the X Window protocol standard.

A keysym is a symbol which grants a meaning to a key. Each key may have four keysyms depending on the state of the Shift and ModeSwitch keys: Normal, Shift, ModeSwitch and Shift ModeSwitch. A Normal keysym is used when you press only a key. A Shift keysym is used when you press a key while pressing a Shift key. A ModeSwitch keysym is used when you press a key while pressing a ModeSwitch key, usually the Alt_Right key. A Shift ModeSwitch keysym is used when you press a key while pressing both Shift and ModeSwitch keys.

When you press the "A" key, Xmanager receives a scancode "0x1E" from the keyboard. The keycode and keysym values for the key are defined as "0x51" and "0x61" for the US-101 keymap file. Thus, Xmanager sends the keycode value "0x51" to the remote X application. The remote X application maps the keycode "0x51" to "0x61" as defined in the keymap file. The keysym "0x61" is defined as "A" in the X Window protocol standard, so the application knows which key was pressed.