linux/drivers/input/keyboard/newtonkbd.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Copyright (c) 2000 Justin Cormack
 */

/*
 * Newton keyboard driver for Linux
 */

#include <linux/slab.h>
#include <linux/module.h>
#include <linux/input.h>
#include <linux/serio.h>

#define DRIVER_DESC

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

#define NKBD_KEY
#define NKBD_PRESS

static unsigned char nkbd_keycode[128] =;

struct nkbd {};

static irqreturn_t nkbd_interrupt(struct serio *serio,
		unsigned char data, unsigned int flags)
{}

static int nkbd_connect(struct serio *serio, struct serio_driver *drv)
{}

static void nkbd_disconnect(struct serio *serio)
{}

static const struct serio_device_id nkbd_serio_ids[] =;

MODULE_DEVICE_TABLE(serio, nkbd_serio_ids);

static struct serio_driver nkbd_drv =;

module_serio_driver();