Devicetrees specify the keyboard codes for the gpio-keys driver, so add a table to translate them into something barebox can use. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
11 lines
151 B
C
11 lines
151 B
C
#ifndef __INPUT_KEYBOARD_H
|
|
#define __INPUT_KEYBOARD_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
#define NR_KEYS 256
|
|
|
|
extern uint8_t keycode_bb_keys[NR_KEYS];
|
|
|
|
#endif
|