Api

You need to add both this plugin jar and spouts api to your project for it to work.

Example Code


Plugin skc = pm.getPlugin("SpoutKeyCommands");
if (skc != null && skc.isEnabled()) {
    SpoutKeyCommandsHandler handler = ((SpoutKeyCommands) skc).getHandle();
}

Methods

  • addGlobalCommand(Keyboard key, String command, Plugin plugin)
  • Set a global key command.
  • removeGlobalCommand(Keyboard key, Plugin plugin)
  • Remove a global key command.
  • checkGlobalCommand(Keyboard key, Plugin plugin)
  • Check status of a global key command, if it is occupied by another plugin or not.

Comments

Posts Quoted:
Reply
Clear All Quotes