#include <linux/hid.h>
#include <linux/input.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "hid-ids.h"
#define STADIA_FF_REPORT_ID …
struct stadiaff_device { … };
static void stadiaff_work(struct work_struct *work)
{ … }
static int stadiaff_play(struct input_dev *dev, void *data,
struct ff_effect *effect)
{ … }
static int stadiaff_init(struct hid_device *hid)
{ … }
static int stadia_probe(struct hid_device *hdev, const struct hid_device_id *id)
{ … }
static void stadia_remove(struct hid_device *hid)
{ … }
static const struct hid_device_id stadia_devices[] = …;
MODULE_DEVICE_TABLE(hid, stadia_devices);
static struct hid_driver stadia_driver = …;
module_hid_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;