Reference.RobotKeyboardRead History

Hide minor edits - Show changes to markup

May 15, 2013, at 09:25 AM by Scott Fitzgerald -
Changed lines 7-8 from:

Detects if one of the 5 keys on the keyboard is pressed.

to:

Detects if one of the 5 momentary buttons on the control board is pressed.

May 03, 2013, at 11:18 AM by Xun Yang -
Changed lines 1-2 from:
to:
April 15, 2013, at 07:54 PM by Xun Yang -
Changed lines 24-25 from:
  • BUTTON_OK if middle key is pressed
to:
  • BUTTON_MIDDLE if middle key is pressed
April 14, 2013, at 10:52 AM by Scott Fitzgerald -
Added lines 9-12:

Syntax

Robot.keyboardRead()

April 14, 2013, at 10:51 AM by Scott Fitzgerald -
Changed lines 1-2 from:
to:
April 14, 2013, at 10:51 AM by Scott Fitzgerald -
Added lines 1-2:
Changed lines 7-8 from:

Detect which of the 5 keys on the keyboard is pressed.

to:

Detects if one of the 5 keys on the keyboard is pressed.

Changed lines 15-21 from:

BUTTON_NONE if no key is pressed,
BUTTON_LEFT if left key is pressed,
BUTTON_DOWN if down key is pressed,
BUTTON_UP if up key is pressed,
BUTTON_RIGHT if right key is pressed,
BUTTON_OK if middle key is pressed

to:
  • BUTTON_NONE if no key is pressed
  • BUTTON_LEFT if left key is pressed
  • BUTTON_DOWN if down key is pressed
  • BUTTON_UP if up key is pressed
  • BUTTON_RIGHT if right key is pressed
  • BUTTON_OK if middle key is pressed
Deleted line 28:
Added line 30:
April 12, 2013, at 09:56 PM by Xun Yang -
Changed lines 13-19 from:

-1 if no key is pressed, 0 if left key is pressed, 1 if down key is pressed, 2 if up key is pressed, 3 if right key is pressed, 4 if middle key is pressed

to:

BUTTON_NONE if no key is pressed,
BUTTON_LEFT if left key is pressed,
BUTTON_DOWN if down key is pressed,
BUTTON_UP if up key is pressed,
BUTTON_RIGHT if right key is pressed,
BUTTON_OK if middle key is pressed

Changed line 39 from:
to:
April 11, 2013, at 07:40 PM by Xun Yang -
Changed lines 13-14 from:

255 if no key is pressed, 0 if left key is pressed,

to:

-1 if no key is pressed, 0 if left key is pressed,

April 11, 2013, at 07:39 PM by Xun Yang -
Added lines 1-39:

Share