linux/drivers/hid/hid-zpff.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Force feedback support for Zeroplus based devices
 *
 *  Copyright (c) 2005, 2006 Anssi Hannula <[email protected]>
 */

/*
 */


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

#include "hid-ids.h"

#ifdef CONFIG_ZEROPLUS_FF

struct zpff_device {};

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

static int zpff_init(struct hid_device *hid)
{}
#else
static inline int zpff_init(struct hid_device *hid)
{
	return 0;
}
#endif

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

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

static struct hid_driver zp_driver =;
module_hid_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();