Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
18fd3957
Commit
18fd3957
authored
Sep 06, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ctrl keys replacing PF keys
parent
cee6758e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
8 deletions
+15
-8
src/lib/rt/src/rt_rtt.h
src/lib/rt/src/rt_rtt.h
+4
-0
src/lib/rt/src/rt_rtt_global.h
src/lib/rt/src/rt_rtt_global.h
+1
-1
src/lib/rt/src/rt_rtt_helptext.h
src/lib/rt/src/rt_rtt_helptext.h
+6
-6
src/lib/rt/src/rt_rtt_menu.c
src/lib/rt/src/rt_rtt_menu.c
+4
-1
No files found.
src/lib/rt/src/rt_rtt.h
View file @
18fd3957
...
@@ -151,14 +151,18 @@
...
@@ -151,14 +151,18 @@
#endif
#endif
#define RTT_K_DELETE 127
#define RTT_K_DELETE 127
#define RTT_K_BACKSPACE 8
#define RTT_K_BACKSPACE 8
#define RTT_K_CTRLA 1
#define RTT_K_CTRLB 2
#define RTT_K_CTRLB 2
#define RTT_K_CTRLC 3
#define RTT_K_CTRLC 3
#define RTT_K_CTRLD 4
#define RTT_K_CTRLD 4
#define RTT_K_CTRLE 5
#define RTT_K_CTRLF 6
#define RTT_K_CTRLF 6
#define RTT_K_CTRLH 8
#define RTT_K_CTRLH 8
#define RTT_K_CTRLK 11
#define RTT_K_CTRLK 11
#define RTT_K_CTRLL 12
#define RTT_K_CTRLL 12
#define RTT_K_CTRLN 14
#define RTT_K_CTRLN 14
#define RTT_K_CTRLR 18
#define RTT_K_CTRLT 20
#define RTT_K_CTRLV 22
#define RTT_K_CTRLV 22
#define RTT_K_CTRLW 23
#define RTT_K_CTRLW 23
#define RTT_K_CTRLZ 26
#define RTT_K_CTRLZ 26
...
...
src/lib/rt/src/rt_rtt_global.h
View file @
18fd3957
...
@@ -73,7 +73,7 @@ extern int rtt_noredraw;
...
@@ -73,7 +73,7 @@ extern int rtt_noredraw;
#ifdef RTT_MENU_MODULE
#ifdef RTT_MENU_MODULE
/* Datasttning endast i modulen rs_rtt_menu */
/* Datasttning endast i modulen rs_rtt_menu */
char
rtt_version
[
10
]
=
"V
3.2-
0"
;
char
rtt_version
[
10
]
=
"V
4.0.
0"
;
menu_ctx
rtt_collectionmenuctx
=
0
;
menu_ctx
rtt_collectionmenuctx
=
0
;
rtt_t_menu_upd
*
rtt_collectionmenulist
=
0
;
rtt_t_menu_upd
*
rtt_collectionmenulist
=
0
;
menu_ctx
rtt_alarm_ctx
=
0
;
menu_ctx
rtt_alarm_ctx
=
0
;
...
...
src/lib/rt/src/rt_rtt_helptext.h
View file @
18fd3957
...
@@ -17,9 +17,9 @@ a number of functions that is specific for each item.\n\
...
@@ -17,9 +17,9 @@ a number of functions that is specific for each item.\n\
The following keys are defined.
\n\n
\
The following keys are defined.
\n\n
\
ARROWS Navigate in the menu and select an item.
\n
\
ARROWS Navigate in the menu and select an item.
\n
\
RETURN Execute a function or display a child menu if there is one.
\n
\
RETURN Execute a function or display a child menu if there is one.
\n
\
PF1
Execute some function if specified.
\n
\
PF1
or CTRL/A
Execute some function if specified.
\n
\
PF2
Execute some function if specified.
\n
\
PF2
or CTRL/T
Execute some function if specified.
\n
\
PF3
Set the value of the current item.
\n
\
PF3
or CTRL/E
Set the value of the current item.
\n
\
PF4 or CTRL/R Go back to previous menu.
\n
\
PF4 or CTRL/R Go back to previous menu.
\n
\
NEXT SIDE or CTRL/F Go to next side of the menu.
\n
\
NEXT SIDE or CTRL/F Go to next side of the menu.
\n
\
PREV SIDE or CTRL/D Go to previous side of the menu.
\n
\
PREV SIDE or CTRL/D Go to previous side of the menu.
\n
\
...
@@ -38,9 +38,9 @@ a number of functions, show children or attributes, set the value of\n\
...
@@ -38,9 +38,9 @@ a number of functions, show children or attributes, set the value of\n\
an attribute. The following keys are defined.
\n\n
\
an attribute. The following keys are defined.
\n\n
\
ARROWS Navigate in the menu and select an object.
\n
\
ARROWS Navigate in the menu and select an object.
\n
\
RETURN Display the children in the object hierarchy of the object.
\n
\
RETURN Display the children in the object hierarchy of the object.
\n
\
PF1
Show the attributes of the object.
\n
\
PF1
or CTRL/A
Show the attributes of the object.
\n
\
PF2
Debug the children of the object.
\n
\
PF2
or CTRL/T
Debug the children of the object.
\n
\
PF3
Set the value of a parameter.
\n
\
PF3
or CTRL/E
Set the value of a parameter.
\n
\
PF4 or CTRL/R Go back to previous menu.
\n
\
PF4 or CTRL/R Go back to previous menu.
\n
\
NEXT SIDE or CTRL/F Go to next side of the menu.
\n
\
NEXT SIDE or CTRL/F Go to next side of the menu.
\n
\
PREV SIDE or CTRL/D Go to previous side of the menu.
\n
\
PREV SIDE or CTRL/D Go to previous side of the menu.
\n
\
...
...
src/lib/rt/src/rt_rtt_menu.c
View file @
18fd3957
...
@@ -246,7 +246,10 @@ int rtt_init_state_table()
...
@@ -246,7 +246,10 @@ int rtt_init_state_table()
state_table
[
0
][
RTT_K_CTRLD
]
=
RTT_TERM
+
RTT_K_PREVPAGE
;
state_table
[
0
][
RTT_K_CTRLD
]
=
RTT_TERM
+
RTT_K_PREVPAGE
;
state_table
[
0
][
RTT_K_CTRLF
]
=
RTT_TERM
+
RTT_K_NEXTPAGE
;
state_table
[
0
][
RTT_K_CTRLF
]
=
RTT_TERM
+
RTT_K_NEXTPAGE
;
state_table
[
0
][
RTT_K_CTRLH
]
=
RTT_TERM
+
RTT_K_HELP
;
state_table
[
0
][
RTT_K_CTRLH
]
=
RTT_TERM
+
RTT_K_HELP
;
state_table
[
0
][
18
]
=
RTT_TERM
+
RTT_K_PF4
;
state_table
[
0
][
RTT_K_CTRLA
]
=
RTT_TERM
+
RTT_K_PF1
;
state_table
[
0
][
RTT_K_CTRLT
]
=
RTT_TERM
+
RTT_K_PF2
;
state_table
[
0
][
RTT_K_CTRLE
]
=
RTT_TERM
+
RTT_K_PF3
;
state_table
[
0
][
RTT_K_CTRLR
]
=
RTT_TERM
+
RTT_K_PF4
;
state_table
[
0
][
RTT_K_ESCAPE
]
=
1
;
state_table
[
0
][
RTT_K_ESCAPE
]
=
1
;
state_table
[
0
][
155
]
=
2
;
state_table
[
0
][
155
]
=
2
;
state_table
[
0
][
143
]
=
3
;
state_table
[
0
][
143
]
=
3
;
...
...
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