#include <linux/unaligned.h>
#include "iforce.h"
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
static signed short btn_joystick[] = …;
static signed short btn_joystick_avb[] = …;
static signed short btn_wheel[] = …;
static signed short abs_joystick[] = …;
static signed short abs_joystick_rudder[] = …;
static signed short abs_avb_pegasus[] = …;
static signed short abs_wheel[] = …;
static signed short ff_iforce[] = …;
static struct iforce_device iforce_device[] = …;
static int iforce_playback(struct input_dev *dev, int effect_id, int value)
{ … }
static void iforce_set_gain(struct input_dev *dev, u16 gain)
{ … }
static void iforce_set_autocenter(struct input_dev *dev, u16 magnitude)
{ … }
static int iforce_upload_effect(struct input_dev *dev, struct ff_effect *effect, struct ff_effect *old)
{ … }
static int iforce_erase_effect(struct input_dev *dev, int effect_id)
{ … }
static int iforce_open(struct input_dev *dev)
{ … }
static void iforce_close(struct input_dev *dev)
{ … }
int iforce_init_device(struct device *parent, u16 bustype,
struct iforce *iforce)
{ … }
EXPORT_SYMBOL(…);