linux/drivers/media/rc/xbox_remote.c

// SPDX-License-Identifier: GPL-2.0+
// Driver for Xbox DVD Movie Playback Kit
// Copyright (c) 2018 by Benjamin Valentin <[email protected]>

/*
 *  Xbox DVD Movie Playback Kit USB IR dongle support
 *
 *  The driver was derived from the ati_remote driver 2.2.1
 *          and used information from lirc_xbox.c
 *
 *          Copyright (c) 2011, 2012 Anssi Hannula <[email protected]>
 *          Copyright (c) 2004 Torrey Hoffman <[email protected]>
 *          Copyright (c) 2002 Vladimir Dergachev
 *          Copyright (c) 2003-2004 Paul Miller <[email protected]>
 */

#include <linux/slab.h>
#include <linux/module.h>
#include <linux/usb/input.h>
#include <media/rc-core.h>

/*
 * Module and Version Information
 */
#define DRIVER_VERSION
#define DRIVER_AUTHOR
#define DRIVER_DESC

#define NAME_BUFSIZE
#define DATA_BUFSIZE

/*
 * USB vendor ids for XBOX DVD Dongles
 */
#define VENDOR_GAMESTER
#define VENDOR_MICROSOFT

static const struct usb_device_id xbox_remote_table[] =;

MODULE_DEVICE_TABLE(usb, xbox_remote_table);

struct xbox_remote {};

static int xbox_remote_rc_open(struct rc_dev *rdev)
{}

static void xbox_remote_rc_close(struct rc_dev *rdev)
{}

/*
 * xbox_remote_report_input
 */
static void xbox_remote_input_report(struct urb *urb)
{}

/*
 * xbox_remote_irq_in
 */
static void xbox_remote_irq_in(struct urb *urb)
{}

static void xbox_remote_rc_init(struct xbox_remote *xbox_remote)
{}

static void xbox_remote_initialize(struct xbox_remote *xbox_remote,
				   struct usb_endpoint_descriptor *endpoint_in)
{}

/*
 * xbox_remote_probe
 */
static int xbox_remote_probe(struct usb_interface *interface,
			     const struct usb_device_id *id)
{}

/*
 * xbox_remote_disconnect
 */
static void xbox_remote_disconnect(struct usb_interface *interface)
{}

/* usb specific object to register with the usb subsystem */
static struct usb_driver xbox_remote_driver =;

module_usb_driver();

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