
#ifndef CMDMAP_H_INCLUDED
#define CMDMAP_H_INCLUDED

// Joystick_SetStick / *USBJoystick_SetStick: assign a device (slot) to a legacy
// Joystick_Read stick number. A device attribute, not a binding - see c.cmdmap.
// "slot" is a device's own internal id, distinct from an axis/button index.

_kernel_oserror *joy_set_stick(uint32_t slot, int32_t number);

_kernel_oserror *command_set_stick(const char *args, int32_t argc);
_kernel_oserror *swi_joystick_set_stick(_kernel_swi_regs *r);

#endif
