Atmel Software Framework

thirdparty/wireless/avr2102_rf4control/apps/zid/dev/terminal/keyboard.h File Reference

Keyboard driver.

Copyright (c) 2014-2015 Atmel Corporation. All rights reserved.

#include "board.h"

Macros

#define SELECT_KEY   BUTTON_0
 

Typedefs

typedef enum key_id_tag key_id_t
 
typedef enum key_state_tag key_state_t
 Button action. More...
 

Enumerations

enum  key_id_tag {
  BUTTON_0,
  BUTTON_1,
  BUTTON_2,
  BUTTON_0,
  BUTTON_1,
  BUTTON_2,
  NO_BUTTON
}
 
enum  key_state_tag {
  KEY_PRESSED,
  KEY_RELEASED,
  KEY_PRESSED,
  KEY_RELEASED
}
 Button action. More...
 

#define SELECT_KEY   BUTTON_0

typedef enum key_id_tag key_id_t
typedef enum key_state_tag key_state_t

Button action.

enum key_id_tag
Enumerator
BUTTON_0 
BUTTON_1 
BUTTON_2 
BUTTON_0 
BUTTON_1 
BUTTON_2 
NO_BUTTON 

Button action.

Enumerator
KEY_PRESSED 

Button is pressed.

KEY_RELEASED 

Button is released.

KEY_PRESSED 

Button is pressed.

KEY_RELEASED 

Button is released.