linux/drivers/hid/hid-betopff.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Force feedback support for Betop based devices
 *
 *  The devices are distributed under various names and the same USB device ID
 *  can be used in both adapters and actual game controllers.
 *
 *  0x11c2:0x2208 "BTP2185 BFM mode Joystick"
 *   - tested with BTP2185 BFM Mode.
 *
 *  0x11C0:0x5506 "BTP2185 PC mode Joystick"
 *   - tested with BTP2185 PC Mode.
 *
 *  0x8380:0x1850 "BTP2185 V2 PC mode USB Gamepad"
 *   - tested with BTP2185 PC Mode with another version.
 *
 *  0x20bc:0x5500 "BTP2185 V2 BFM mode Joystick"
 *   - tested with BTP2171s.
 *  Copyright (c) 2014 Huang Bo <[email protected]>
 */

/*
 */


#include <linux/input.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/hid.h>

#include "hid-ids.h"

struct betopff_device {};

static int hid_betopff_play(struct input_dev *dev, void *data,
			 struct ff_effect *effect)
{}

static int betopff_init(struct hid_device *hid)
{}

static int betop_probe(struct hid_device *hdev, const struct hid_device_id *id)
{}

static const struct hid_device_id betop_devices[] =;
MODULE_DEVICE_TABLE(hid, betop_devices);

static struct hid_driver betop_driver =;
module_hid_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();