linux/drivers/hid/hid-pxrc.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * HID driver for PhoenixRC 8-axis flight controller
 *
 * Copyright (C) 2022 Marcus Folkesson <[email protected]>
 */

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

#include "hid-ids.h"

struct pxrc_priv {};

static __u8 pxrc_rdesc_fixed[] =;

static __u8 *pxrc_report_fixup(struct hid_device *hdev, __u8 *rdesc,
				unsigned int *rsize)
{}

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

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

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

static struct hid_driver pxrc_driver =;
module_hid_driver();

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