1
0
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:
xennex22 2019-11-16 08:46:12 -08:00 committed by GitHub
parent 23009e8de9
commit 24a5e3788d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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[])
{
kb_map[shift] = map;
lv_btnm_set_map(kb, map);
kb_map[shift] = 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;
lv_btnm_set_ctrl_map(kb, ctrl_map);
}
/*=====================