barebox/include/input/keyboard.h
Sascha Hauer 2c194e5822 input: Add keycode to barebox key translation table
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>
2014-02-17 08:23:41 +01:00

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