#ifndef CMDCTRL_H_INCLUDED
#define CMDCTRL_H_INCLUDED

// *USBJoystick_Control <Mouse|Keyboard> [<on|off>] - mirrors Joystick_Control's
// R0 selector 1:1 (see h.joyswis for JOYSTICK_CONTROL_*); omitting on/off
// reports the current state, matching the SWI's own -1 = query convention.
// A separate command from *USBJoystick_Emulate on purpose - see h.joyswis
// (Joystick_Control) for why the two are different concepts sharing the same
// on/off/query shape, not the same feature under two names.
_kernel_oserror *command_control(const char *args, int32_t argc);

// Single Joystick_Control SWI - see h.joyswis for the JOYSTICK_CONTROL_*
// selector values.
_kernel_oserror *swi_joystick_control(_kernel_swi_regs *r);

#endif
