#ifndef CMDRUMBLE_H_INCLUDED
#define CMDRUMBLE_H_INCLUDED

// *USBJoystick_Rumble <slot> <low> <high> [<ms>] - run a joystick's rumble
// motors; low/high are 0..65535 strengths, both 0 stops, ms defaults to
// 1000. See c.rumble.
_kernel_oserror *command_rumble(const char *args, int32_t argc);

// *USBJoystick_SendOut <slot> <byte> [<byte>...] - send bytes to a joystick's
// OUT endpoint, for working out what a device needs. Bytes are hexadecimal
// unless given a base prefix.
_kernel_oserror *command_send_out(const char *args, int32_t argc);

// *USBJoystick_SendReport <slot> <report-id> [<byte>...] - send a HID output
// report to a joystick over the control pipe (SET_REPORT), for devices with
// no OUT endpoint. report-id 0 means the device uses no report ids. Numbers
// are hexadecimal unless given a base prefix.
_kernel_oserror *command_send_report(const char *args, int32_t argc);

#endif
