mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
Update lv_kb.c
This commit is contained in:
parent
23009e8de9
commit
24a5e3788d
@ -255,14 +255,12 @@ void lv_kb_set_style(lv_obj_t * kb, lv_kb_style_t type, const lv_style_t * style
|
|||||||
|
|
||||||
void lv_kb_set_map(lv_obj_t * kb, lv_kb_shift_t shift, const char * map[])
|
void lv_kb_set_map(lv_obj_t * kb, lv_kb_shift_t shift, const char * map[])
|
||||||
{
|
{
|
||||||
kb_map[shift] = map;
|
kb_map[shift] = map;
|
||||||
lv_btnm_set_map(kb, map);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void lv_kb_set_ctrl_map(lv_obj_t * kb, lv_kb_shift_t shift, const lv_btnm_ctrl_t ctrl_map[])
|
void lv_kb_set_ctrl_map(lv_obj_t * kb, lv_kb_shift_t shift, const lv_btnm_ctrl_t ctrl_map[])
|
||||||
{
|
{
|
||||||
kb_ctrl[shift] = ctrl_map;
|
kb_ctrl[shift] = ctrl_map;
|
||||||
lv_btnm_set_ctrl_map(kb, ctrl_map);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*=====================
|
/*=====================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user