using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace uDrawLib
{
public interface IInputDevice
{
///
/// Indicates non-directional button press states have changed.
///
event EventHandler ButtonStateChanged;
///
/// Indicates directional button press states have changed.
///
event EventHandler DPadStateChanged;
///
/// Indicates the pressed state of every non-directional button on the tablet.
///
TabletButtonState ButtonState { get; set; }
///
/// Indicates the pressed state of each direction on the directional pad.
///
TabletDPadState DPadState { get; set; }
///
/// Indicates whether the nib/stylus, fingers, or nothing are currently pressing on the tablet.
///
TabletPressureType PressureType { get; set; }
///
/// The raw pressure being applied by the pen. Only valid with TabletPressureType.PenPressed.
///
ushort PenPressure { get; set; }
///
/// Indicates the distance between fingers. Only valid with TabletPressureType.Multitouch.
///
ushort MultitouchDistance { get; set; }
///
/// Indicates the absolute coordinates (from top-left corner) of the current pressure point.
/// Only valid with TabletPressureType.PenPressed and TabletPressureType.FingerPressed.
///
Point PressurePoint { get; set; }
///
/// Raw X-, Y-, and Z-axis data from the accelerometer.
///
TabletAccelerometerData AccelerometerData { get; set; }
}
}