Class KeyboardInput

java.lang.Object
net.botwithus.rs3.input.KeyboardInput

public final class KeyboardInput extends Object
  • Method Details

    • enter

      public static void enter(@NotNull @NotNull String value)
      Simulates entering a given string of characters into the keyboard.
      Parameters:
      value - The string of characters to enter.
    • pressKey

      public static void pressKey(int keyCode)
      Presses the given key code.
      Parameters:
      keyCode - the key code to press