multimedia.c File Reference

USB Keyboard multimedia keys subdriver. More...

#include "multimedia.h"
#include "../usbhid.h"
#include "keymap.h"
#include <usb/hid/hidparser.h>
#include <usb/debug.h>
#include <usb/hid/usages/core.h>
#include <usb/hid/usages/consumer.h>
#include <errno.h>
#include <str_error.h>
#include <ipc/kbd.h>
#include <io/console.h>

Go to the source code of this file.

Data Structures

struct  usb_multimedia_t
 Logitech UltraX device type. More...

Defines

#define NAME   "multimedia-keys"

Functions

static void default_connection_handler (ddf_fun_t *fun, ipc_callid_t icallid, ipc_call_t *icall)
 Default handler for IPC methods not handled by DDF.
static int usb_multimedia_create_function (usb_hid_dev_t *hid_dev, usb_multimedia_t *multim_dev)
void usb_multimedia_deinit (struct usb_hid_dev *hid_dev, void *data)
static void usb_multimedia_free (usb_multimedia_t **multim_dev)
int usb_multimedia_init (struct usb_hid_dev *hid_dev, void **data)
bool usb_multimedia_polling_callback (struct usb_hid_dev *hid_dev, void *data)
static void usb_multimedia_push_ev (usb_hid_dev_t *hid_dev, usb_multimedia_t *multim_dev, int type, unsigned int key)
 Processes key events.

Variables

static ddf_dev_ops_t multimedia_ops


Detailed Description

USB Keyboard multimedia keys subdriver.

Definition in file multimedia.c.


Generated on Thu Jun 2 07:45:52 2011 for HelenOS/USB by  doxygen 1.4.7