Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
Project
Project
Details
Activity
Releases
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈家乐
jiancetai
Commits
de559ef5
Commit
de559ef5
authored
Dec 16, 2025
by
何锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:更新中键
parent
445541be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
Key_user.c
YueJin_test_bench/source/Appliciation/Key_user.c
+1
-0
app_lsdn.c
YueJin_test_bench/source/Appliciation/app_lsdn.c
+5
-1
No files found.
YueJin_test_bench/source/Appliciation/Key_user.c
View file @
de559ef5
...
...
@@ -64,6 +64,7 @@ void Key_Operation_SW7(Key_Event_en_t enKeyEvent) //上下ACC电
}
else
if
(
enKeyEvent
==
KEY_EVENT_LONG_PRESS
)
{
Key_Mode
=
3
;
}
else
if
(
enKeyEvent
==
KEY_EVENT_SUPER_LONG_PRESS
)
{
...
...
YueJin_test_bench/source/Appliciation/app_lsdn.c
View file @
de559ef5
...
...
@@ -162,12 +162,16 @@ void Key_Judgment_Service(void)
{
Aimadata
.
Sig
.
media_right_key
=
0x00
;
}
else
if
(
Key_Mode
==
3
)
//中键
{
Aimadata
.
Sig
.
media_middle_key
=
0x00
;
}
else
{
;
}
if
((
Key_Mode
==
1
)
||
(
Key_Mode
==
2
))
if
((
Key_Mode
==
1
)
||
(
Key_Mode
==
2
)
||
(
Key_Mode
==
3
)
)
{
if
(
KeySendTime
<=
10
)
{
...
...
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