return {
    name = 'JoystickHat',
    description = 'Joystick hat positions.',
    constants = {
        {
            name = 'c',
            description = 'Centered',
        },
        {
            name = 'd',
            description = 'Down',
        },
        {
            name = 'l',
            description = 'Left',
        },
        {
            name = 'ld',
            description = 'Left+Down',
        },
        {
            name = 'lu',
            description = 'Left+Up',
        },
        {
            name = 'r',
            description = 'Right',
        },
        {
            name = 'rd',
            description = 'Right+Down',
        },
        {
            name = 'ru',
            description = 'Right+Up',
        },
        {
            name = 'u',
            description = 'Up',
        },
    },
}