Linux Kernel
3.7.1
|
#include <linux/gfp.h>
#include <linux/init.h>
#include <linux/usb.h>
#include <linux/usb/input.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include "device.h"
#include "input.h"
Go to the source code of this file.
Macros | |
#define | MASCHINE_BUTTONS (42) |
#define | MASCHINE_BUTTON(X) ((X) + BTN_MISC) |
#define | MASCHINE_PADS (16) |
#define | MASCHINE_PAD(X) ((X) + ABS_PRESSURE) |
#define | KONTROLX1_INPUTS (40) |
#define | KONTROLS4_BUTTONS (12 * 8) |
#define | KONTROLS4_AXIS (46) |
#define | KONTROLS4_BUTTON(X) ((X) + BTN_MISC) |
#define | KONTROLS4_ABS(X) ((X) + ABS_HAT0X) |
#define | DEG90 (range / 2) |
#define | DEG180 (range) |
#define | DEG270 (DEG90 + DEG180) |
#define | DEG360 (DEG180 * 2) |
#define | HIGH_PEAK (268) |
#define | LOW_PEAK (-7) |
#define | TKS4_MSGBLOCK_SIZE 16 |
#define | MASCHINE_MSGBLOCK_SIZE 2 |
Functions | |
void | snd_usb_caiaq_input_dispatch (struct snd_usb_caiaqdev *dev, char *buf, unsigned int len) |
int | snd_usb_caiaq_input_init (struct snd_usb_caiaqdev *dev) |
void | snd_usb_caiaq_input_free (struct snd_usb_caiaqdev *dev) |
#define MASCHINE_PAD | ( | X | ) | ((X) + ABS_PRESSURE) |
void snd_usb_caiaq_input_dispatch | ( | struct snd_usb_caiaqdev * | dev, |
char * | buf, | ||
unsigned int | len | ||
) |
void snd_usb_caiaq_input_free | ( | struct snd_usb_caiaqdev * | dev | ) |
int snd_usb_caiaq_input_init | ( | struct snd_usb_caiaqdev * | dev | ) |