protected TouchZone(string name, TouchConfiguration touchConfiguration, int[,] mask) { Name = name; _touchConfiguration = touchConfiguration; Mask = mask; _current = new TouchPoint(); }
public MiddleClickStripMenuItem(TouchConfiguration touchConfiguration) : base("Middle-click", Properties.Resources.start_here) { _touchConfiguration = touchConfiguration; CheckOnClick = true; }
public LeftTouchZone(StateMachine stateMachine, TouchConfiguration touchConfiguration) : base("Left", touchConfiguration, DefaultMask) { _stateMachine = stateMachine; }
/// <summary> /// Configures any container data to the sub setup components. /// </summary> protected virtual void ConfigureContainer() { TouchConfiguration.ConfigureContainer(); GrabConfiguration.ConfigureContainer(); }
public TouchOverStripMenuItem(TouchConfiguration touchConfiguration) : base("Touch-over-click", Properties.Resources.user_desktop) { _touchConfiguration = touchConfiguration; CheckOnClick = true; }
public LeftHandedStripMenuItem(TouchConfiguration touchConfiguration) : base("Left-handed", Properties.Resources.input_mouse) { _touchConfiguration = touchConfiguration; CheckOnClick = true; }
public RightTouchZone(StateMachine stateMachine, TouchConfiguration touchConfiguration) : base("Right", touchConfiguration, DefaultMask) { _stateMachine = stateMachine; }
private void InitTouch(TouchConfiguration touchConfig) { spi = new SPI(new SPI.Configuration(touchConfig.chipSelect, false, 1, 1, false, true, 2000, touchConfig.channel)); touchIRQ = new InputPort(touchConfig.touchIRQ, false, Port.ResistorMode.Disabled); terminateTouchThread = false; touchThread = new Thread(TouchThread); touchThread.Priority = ThreadPriority.Highest; touchThread.Start(); }
public FEZTouch(LCDConfiguration lcdConfig, TouchConfiguration touchConfig) { InitLCD(lcdConfig); InitTouch(touchConfig); }