linux/drivers/input/joystick/qwiic-joystick.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2021 Oleh Kravchenko <[email protected]>
 *
 * SparkFun Qwiic Joystick
 * Product page:https://www.sparkfun.com/products/15168
 * Firmware and hardware sources:https://github.com/sparkfun/Qwiic_Joystick
 */

#include <linux/bits.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/kernel.h>
#include <linux/module.h>

#define DRV_NAME

#define QWIIC_JSK_REG_VERS
#define QWIIC_JSK_REG_DATA

#define QWIIC_JSK_MAX_AXIS
#define QWIIC_JSK_FUZZ
#define QWIIC_JSK_FLAT
#define QWIIC_JSK_POLL_INTERVAL
#define QWIIC_JSK_POLL_MIN
#define QWIIC_JSK_POLL_MAX

struct qwiic_jsk {};

struct qwiic_ver {};

struct qwiic_data {};

static void qwiic_poll(struct input_dev *input)
{}

static int qwiic_probe(struct i2c_client *client)
{}

#ifdef CONFIG_OF
static const struct of_device_id of_qwiic_match[] =;
MODULE_DEVICE_TABLE(of, of_qwiic_match);
#endif /* CONFIG_OF */

static const struct i2c_device_id qwiic_id_table[] =;
MODULE_DEVICE_TABLE(i2c, qwiic_id_table);

static struct i2c_driver qwiic_driver =;
module_i2c_driver();

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