BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
79e3951a
Commit
79e3951a
authored
Nov 20, 2017
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv_indev: keyboard ignor key == 0
parent
4ca6a04c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
lv_indev.c
lv_obj/lv_indev.c
+3
-2
lv_cb.c
lv_objx/lv_cb.c
+1
-0
No files found.
lv_obj/lv_indev.c
View file @
79e3951a
...
@@ -238,8 +238,9 @@ static void indev_proc_task(void * param)
...
@@ -238,8 +238,9 @@ static void indev_proc_task(void * param)
indev_proc_point
(
&
i
->
state
);
indev_proc_point
(
&
i
->
state
);
}
}
else
if
(
i
->
driver
.
type
==
LV_INDEV_TYPE_KEYPAD
)
{
else
if
(
i
->
driver
.
type
==
LV_INDEV_TYPE_KEYPAD
)
{
if
(
i
->
group
!=
NULL
&&
data
.
state
==
LV_INDEV_EVENT_PR
)
{
if
(
i
->
group
!=
NULL
&&
data
.
state
==
LV_INDEV_EVENT_PR
&&
data
.
key
!=
0
)
{
if
(
data
.
key
==
LV_GROUP_KEY_NEXT
)
{
lv_group_focus_next
(
i
->
group
);
if
(
data
.
key
==
LV_GROUP_KEY_NEXT
)
{
lv_group_focus_next
(
i
->
group
);
}
}
else
if
(
data
.
key
==
LV_GROUP_KEY_PREV
)
{
else
if
(
data
.
key
==
LV_GROUP_KEY_PREV
)
{
lv_group_focus_prev
(
i
->
group
);
lv_group_focus_prev
(
i
->
group
);
...
...
lv_objx/lv_cb.c
View file @
79e3951a
...
@@ -89,6 +89,7 @@ lv_obj_t * lv_cb_create(lv_obj_t * par, lv_obj_t * copy)
...
@@ -89,6 +89,7 @@ lv_obj_t * lv_cb_create(lv_obj_t * par, lv_obj_t * copy)
lv_cb_set_style
(
new_cb
,
LV_CB_STYLE_BOX_INA
,
th
->
cb
.
box
.
ina
);
lv_cb_set_style
(
new_cb
,
LV_CB_STYLE_BOX_INA
,
th
->
cb
.
box
.
ina
);
}
else
{
}
else
{
lv_cb_set_style
(
new_cb
,
LV_CB_STYLE_BG
,
&
lv_style_transp
);
lv_cb_set_style
(
new_cb
,
LV_CB_STYLE_BG
,
&
lv_style_transp
);
lv_cb_set_style
(
new_cb
,
LV_CB_STYLE_BOX_REL
,
&
lv_style_pretty
);
}
}
}
else
{
}
else
{
lv_cb_ext_t
*
copy_ext
=
lv_obj_get_ext_attr
(
copy
);
lv_cb_ext_t
*
copy_ext
=
lv_obj_get_ext_attr
(
copy
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment