Reference MWAPI

Appendix A: Codes

This appendix lists MWAPI codes in three sections:

  • Section One lists all keyboard, pointer button, and character codes.

  • Error codes are listed in Section Two.

  • Colors and their associated RGB values are shown in Section Three.

Section One

This section identifies the codes that indicate characters and keys from the keyboard and pointer buttons on the pointer device. Character and keycodes share many codes in common; however the difference is in the way a character can be represented.

The intention for character codes is to enable applications to focus on the characters received, rather than the keyboard action that produced the characters. This insulates applications from substantial complexity since keyboard design and languages are diverse. The following codes are common to indicate characters and keys on the keyboard:

  1. The set of function keys indicated by Table A.1.

  2. Characters represented by their graphical form: A for an uppercase "A" and 1 for the number "1." These characters are not represented by their ASCII value equivalents.

  3. The word "COMMA." This word is used to indicate a comma character when the string of codes contains one or more comma delineators: A,COMMA,B.

  4. An implementation defined value.

The domain for keycodes also includes modifier codes listed in Table A.2. These codes are used to describe characters only when used in conjunction with another code in the domain: the user pressing a code from the list above while a modifier key is pressed.

The plus character follows a modifier: ALT+A or CTRL+ALT+DEL. The SHIFT and SHIFTR...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Barcode Decoders
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.