#pragma once

#include "rogue_enemy.h"

typedef enum rc71l_platform_mode {
    rc71l_platform_mode_hidraw,
    rc71l_platform_mode_asus_mcu,
} rc71l_platform_mode_t;

typedef struct rc71l_platform {
    struct udev *udev;

    rc71l_platform_mode_t platform_mode;
    
    unsigned long mode;
    unsigned int modes_count;
} rc71l_platform_t;

int init_platform(rc71l_platform_t *const platform);

int cycle_mode(rc71l_platform_t *const platform);

int is_mouse_mode(rc71l_platform_t *const platform);
