linux/drivers/input/joystick/iforce/iforce-packets.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Copyright (c) 2000-2002 Vojtech Pavlik <[email protected]>
 *  Copyright (c) 2001-2002, 2007 Johann Deneux <[email protected]>
 *
 *  USB/RS232 I-Force joysticks and wheels.
 */

#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)
{}

/*
 * Send a packet of bytes to the device
 */
int iforce_send_packet(struct iforce *iforce, u16 cmd, unsigned char* data)
{}
EXPORT_SYMBOL();

/* Start or stop an effect */
int iforce_control_playback(struct iforce* iforce, u16 id, unsigned int value)
{}

/* Mark an effect that was being updated as ready. That means it can be updated
 * again */
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();