linux/drivers/input/joystick/interact.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Copyright (c) 2001 Vojtech Pavlik
 *
 *  Based on the work of:
 *	Toby Deshane
 */

/*
 * InterAct digital gamepad/joystick driver for Linux
 */

#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/gameport.h>
#include <linux/input.h>
#include <linux/jiffies.h>

#define DRIVER_DESC

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();

#define INTERACT_MAX_START
#define INTERACT_MAX_STROBE
#define INTERACT_MAX_LENGTH

#define INTERACT_TYPE_HHFX
#define INTERACT_TYPE_PP8D

struct interact {};

static short interact_abs_hhfx[] =;
static short interact_abs_pp8d[] =;

static short interact_btn_hhfx[] =;
static short interact_btn_pp8d[] =;

struct interact_type {};

static struct interact_type interact_type[] =;

/*
 * interact_read_packet() reads and InterAct joystick data.
 */

static int interact_read_packet(struct gameport *gameport, int length, u32 *data)
{}

/*
 * interact_poll() reads and analyzes InterAct joystick data.
 */

static void interact_poll(struct gameport *gameport)
{}

/*
 * interact_open() is a callback from the input open routine.
 */

static int interact_open(struct input_dev *dev)
{}

/*
 * interact_close() is a callback from the input close routine.
 */

static void interact_close(struct input_dev *dev)
{}

/*
 * interact_connect() probes for InterAct joysticks.
 */

static int interact_connect(struct gameport *gameport, struct gameport_driver *drv)
{}

static void interact_disconnect(struct gameport *gameport)
{}

static struct gameport_driver interact_drv =;

module_gameport_driver();