Click or drag to resize
KeyboardPlayer Constructor
Constructs a new player based on one of 4 possible sets of default key mappings

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public KeyboardPlayer(
	int defaultSet
)

Parameters

defaultSet
Type: SystemInt32
Number 0 through 3 indicating which set of defaults to use. Default set number 0 is mapped as follows:
KeyMapped to
Up Arrowkey_up
Left Arrowkey_left
Right Arrowkey_right
Down Arrowkey_down
Right Ctrlkey_button1
Spacekey_button2
Returnkey_button3
Right Shiftkey_button4
Default set number 1 is mapped as follows: Default set number 2 is mapped as follows:
KeyMapped to
Numeric Keypad Up/8key_up
Numeric Keypad Left/4key_left
Numeric Keypad Right/6key_right
Numeric Keypad Down/2key_down
Numeric Keypad 5key_button1
Numeric Keypad 0key_button2
Numeric Keypad Enterkey_button3
Numeric Keypad 7key_button4
Default set number 3 is mapped as follows:
See Also