linux/drivers/hid/hid-zydacron.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
*  HID driver for zydacron remote control
*
*  Copyright (c) 2010 Don Prince <[email protected]>
*/

/*
*/

#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>

#include "hid-ids.h"

struct zc_device {};


/*
* Zydacron remote control has an invalid HID report descriptor,
* that needs fixing before we can parse it.
*/
static __u8 *zc_report_fixup(struct hid_device *hdev, __u8 *rdesc,
	unsigned int *rsize)
{}

#define zc_map_key_clear(c)

static int zc_input_mapping(struct hid_device *hdev, struct hid_input *hi,
	struct hid_field *field, struct hid_usage *usage,
	unsigned long **bit, int *max)
{}

static int zc_raw_event(struct hid_device *hdev, struct hid_report *report,
	 u8 *data, int size)
{}

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

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

static struct hid_driver zc_driver =;
module_hid_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();