linux/drivers/hid/hid-roccat-konepure.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Roccat KonePure driver for Linux
 *
 * Copyright (c) 2012 Stefan Achatz <[email protected]>
 */

/*
 */

/*
 * Roccat KonePure is a smaller version of KoneXTD with less buttons and lights.
 */

#include <linux/types.h>
#include <linux/device.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/hid-roccat.h>
#include "hid-ids.h"
#include "hid-roccat-common.h"

enum {};

struct konepure_mouse_report_button {} __packed;

ROCCAT_COMMON2_BIN_ATTRIBUTE_W(control, 0x04, 0x03);
ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(actual_profile, 0x05, 0x03);
ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(profile_settings, 0x06, 0x1f);
ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(profile_buttons, 0x07, 0x3b);
ROCCAT_COMMON2_BIN_ATTRIBUTE_W(macro, 0x08, 0x0822);
ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(info, 0x09, 0x06);
ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(tcu, 0x0c, 0x04);
ROCCAT_COMMON2_BIN_ATTRIBUTE_R(tcu_image, 0x0c, 0x0404);
ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(sensor, 0x0f, 0x06);
ROCCAT_COMMON2_BIN_ATTRIBUTE_W(talk, 0x10, 0x10);

static struct bin_attribute *konepure_bin_attrs[] =;

static const struct attribute_group konepure_group =;

static const struct attribute_group *konepure_groups[] =;

static const struct class konepure_class =;

static int konepure_init_specials(struct hid_device *hdev)
{}

static void konepure_remove_specials(struct hid_device *hdev)
{}

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

static void konepure_remove(struct hid_device *hdev)
{}

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

static const struct hid_device_id konepure_devices[] =;

MODULE_DEVICE_TABLE(hid, konepure_devices);

static struct hid_driver konepure_driver =;

static int __init konepure_init(void)
{}

static void __exit konepure_exit(void)
{}

module_init();
module_exit(konepure_exit);

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