```ruby
require 'java'

# These constants represent keyboard codes for interacting with the keyboard.
# Keyboard interaction is defined in the Sikuli::Typeable module.
#
module Sikuli

  # Command Key
  KEY_CMD   = java.awt.event.InputEvent::META_MASK

  # Shift Key
  KEY_SHIFT = java.awt.event.InputEvent::SHIFT_MASK

  # Control Key
  KEY_CTRL  = java.awt.event.InputEvent::CTRL_MASK

  # Alt Key
  KEY_ALT   = java.awt.event.InputEvent::ALT_MASK

  # Backspace Key
  KEY_BACKSPACE = "\u0008"

  # Return Key
  KEY_RETURN    = "\n"

  # Left Arrow Key
  LEFT_ARROW    = "\ue003"
end```

Use definitions of modifier keys defined by org.sikuli.script.KeyModifier Use definitions of keystrokes defined by org.sikuli.script.Key Add support for all arrow keys
user
```ruby
require 'java'
java_import 'org.sikuli.script.Key'
java_import 'org.sikuli.script.KeyModifier'

# These constants represent keyboard codes for interacting with the keyboard.
# Keyboard interaction is defined in the Sikuli::Typeable module.
#
module Sikuli

  # Command Key
  KEY_CMD   = KeyModifier::META

  # Shift Key
  KEY_SHIFT = KeyModifier::SHIFT

  # Control Key
  KEY_CTRL  = KeyModifier::CTRL

  # Alt Key
  KEY_ALT   = KeyModifier::ALT

  # Backspace Key
  KEY_BACKSPACE = Key::BACKSPACE

  # Return Key
  KEY_RETURN    = Key::ENTER

  # Left Arrow Key
  LEFT_ARROW    = Key::LEFT

  # Right Arrow Key
  RIGHT_ARROW   = Key::RIGHT

  # Up Arrow Key
  UP_ARROW    = Key::UP

  # Down Arrow Key
  DOWN_ARROW   = Key::DOWN
end```
assistant