MTOUCHCONTROLDECODE Enum

mTouch

mTouch Cap Library Help
MTOUCHCONTROLDECODE Enum

Enumeration: MTOUCHCONTROLDECODE 

 

This enumeration defines possible decode method flags for controls. These flags can be ORed. 

Values: 

  • DECODE_TOGGLE - toggled button,
  • DECODE_PRESS_RELEASE - simple button (reports pressed or released states),
  • DECODE_MOST_PRESSED - looks through all pressed buttons having the decode method DECODE_MOST_PRESSED and reports "pressed" state only for one which has a bigger signal,
  • DECODE_PRESS_REPEAT - if button is held pressed it starts to generate "pressed"/"released" events periodically. See MCONTROL_REPEAT_INITIAL_DELAY and MCONTROL_REPEAT_DELAY settings in mTouchConfig.h,
  • DECODE_ONE_EVENT - if control's state is not changed CONTROL_IDLE state flag will be set.
Microchip mTouchCap Software Library 1.41 - [July 18, 2012]
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.