linux/drivers/input/keyboard/xtkbd.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Copyright (c) 1999-2001 Vojtech Pavlik
 */

/*
 * XT 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 XTKBD_EMUL0
#define XTKBD_EMUL1
#define XTKBD_KEY
#define XTKBD_RELEASE

static unsigned char xtkbd_keycode[256] =;

struct xtkbd {};

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

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

static void xtkbd_disconnect(struct serio *serio)
{}

static const struct serio_device_id xtkbd_serio_ids[] =;

MODULE_DEVICE_TABLE(serio, xtkbd_serio_ids);

static struct serio_driver xtkbd_drv =;

module_serio_driver();