KeyboardValue

Small helper class used to store both the value and type of a keyboard character in the values map.

package

Application

Methods

Constructor, creates a new instance of this class.

__construct(intvalue, inttype) : mixed

Arguments

value

int

Value of the keyboard character.

type

int

Type of the keyboard character, (X or Y) | (MSD or LSD).

Response

mixed

Gets the type of the keyboard character, (X or Y) | (MSD or LSD).

getType() : int

Response

int

Type of the keyboard character, (X or Y) | (MSD or LSD).

Gets the value of the keyboard character.

getValue() : int

Response

int

Value of the keyboard character.

Properties

Value of the keyboard character.

value : 

Type of the keyboard character, (X or Y) | (MSD or LSD).

type :