comparison rvinterf/asyncshell/usercmd.c @ 398:8c7e86bc137e

fc-shell: added key commands for sending keystrokes via MMI CONFIG sysprims
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Mar 2018 00:52:40 +0000
parents 5b4e345095c4
children e13f60d4f8dd
comparison
equal deleted inserted replaced
397:4477d28c77bc 398:8c7e86bc137e
12 extern char usercmd[]; 12 extern char usercmd[];
13 13
14 extern void cmd_disable(); 14 extern void cmd_disable();
15 extern void cmd_enable(); 15 extern void cmd_enable();
16 extern void cmd_help(); 16 extern void cmd_help();
17 extern void cmd_key_interactive();
18 extern void cmd_keydown_interactive();
19 extern void cmd_keyup_interactive();
17 extern void cmd_poweroff(); 20 extern void cmd_poweroff();
18 extern void cmd_sendat(); 21 extern void cmd_sendat();
19 extern void cmd_send_interactive(); 22 extern void cmd_send_interactive();
20 extern void cmd_sp_interactive(); 23 extern void cmd_sp_interactive();
21 extern void cmd_tch_dispatch(); 24 extern void cmd_tch_dispatch();
35 } cmdtab[] = { 38 } cmdtab[] = {
36 {"disable", cmd_disable}, 39 {"disable", cmd_disable},
37 {"enable", cmd_enable}, 40 {"enable", cmd_enable},
38 {"exit", cmd_exit}, 41 {"exit", cmd_exit},
39 {"help", cmd_help}, 42 {"help", cmd_help},
43 {"key", cmd_key_interactive},
44 {"keydown", cmd_keydown_interactive},
45 {"keyup", cmd_keyup_interactive},
40 {"poweroff", cmd_poweroff}, 46 {"poweroff", cmd_poweroff},
41 {"quit", cmd_exit}, 47 {"quit", cmd_exit},
42 {"send", cmd_send_interactive}, 48 {"send", cmd_send_interactive},
43 {"sp", cmd_sp_interactive}, 49 {"sp", cmd_sp_interactive},
44 {"str", cmd_sendat}, 50 {"str", cmd_sendat},