Microchip® Advanced Software Framework

keyboard.h File Reference

Keyboard driver.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#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 }
 
enum  key_state_tag {
  KEY_PRESSED,
  KEY_RELEASED
}
 Button action. More...
 

#define SELECT_KEY   BUTTON_0

Referenced by app_task(), key_state_read(), and main().

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 action.

Enumerator
KEY_PRESSED 

Button is pressed.

KEY_RELEASED 

Button is released.