gpio_keys.h
来自「linux 内核源代码」· C头文件 代码 · 共 20 行
H
20 行
#ifndef _GPIO_KEYS_H#define _GPIO_KEYS_Hstruct gpio_keys_button { /* Configuration parameters */ int code; /* input event code (KEY_*, SW_*) */ int gpio; int active_low; char *desc; int type; /* input event type (EV_KEY, EV_SW) */ int wakeup; /* configure the button as a wake-up source */};struct gpio_keys_platform_data { struct gpio_keys_button *buttons; int nbuttons;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?