private CommandLine adbCommand() {
    CommandLine command = new CommandLine(AndroidSdk.adb());
    if (isSerialConfigured()) {
      command.addArgument("-s", false);
      command.addArgument(serial, false);
    }
    return command;
  }
Use adb to send a keyevent to the device.

Full list of keys available here:
http://developer.android.com/reference/android/view/KeyEvent.html

@param value - Key to be sent to 'adb shell input keyevent'
selendroid-standalone/src/main/java/io/selendroid/standalone/android/impl/AbstractDevice.java