#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/random.h>
#include <linux/sched.h>
#include <linux/usb.h>
#include <linux/wait.h>
#include "hid-ids.h"
#define map_key_clear(c) …
#define RAZER_BLACKWIDOW_TRANSFER_BUF_SIZE …
static bool macro_key_remapping = …;
module_param(macro_key_remapping, bool, 0644);
MODULE_PARM_DESC(…) …;
static unsigned char blackwidow_init[RAZER_BLACKWIDOW_TRANSFER_BUF_SIZE] = …;
static int razer_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 razer_probe(struct hid_device *hdev, const struct hid_device_id *id)
{ … }
static const struct hid_device_id razer_devices[] = …;
MODULE_DEVICE_TABLE(hid, razer_devices);
static struct hid_driver razer_driver = …;
module_hid_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;