#include <linux/unaligned.h>
#include "iforce.h"
static struct { … } iforce_hat_to_axis[16] = …;
void iforce_dump_packet(struct iforce *iforce, char *msg, u16 cmd, unsigned char *data)
{ … }
int iforce_send_packet(struct iforce *iforce, u16 cmd, unsigned char* data)
{ … }
EXPORT_SYMBOL(…);
int iforce_control_playback(struct iforce* iforce, u16 id, unsigned int value)
{ … }
static int mark_core_as_ready(struct iforce *iforce, unsigned short addr)
{ … }
static void iforce_report_hats_buttons(struct iforce *iforce, u8 *data)
{ … }
void iforce_process_packet(struct iforce *iforce,
u8 packet_id, u8 *data, size_t len)
{ … }
EXPORT_SYMBOL(…);