package com.limelight.binding.input.evdev; public class EvdevEvent { public static final int EVDEV_MIN_EVENT_SIZE = 18; public static final int EVDEV_MAX_EVENT_SIZE = 24; /* Event types */ public static final short EV_SYN = 0x00; public static final short EV_KEY = 0x01; public static final short EV_REL = 0x02; /* Relative axes */ public static final short REL_X = 0x00; public static final short REL_Y = 0x01; /* Buttons */ public static final short BTN_LEFT = 0x110; public static final short BTN_RIGHT = 0x111; public static final short BTN_MIDDLE = 0x112; public short type; public short code; public int value; public EvdevEvent(short type, short code, int value) { this.type = type; this.code = code; this.value = value; } }