FreeCalypso > hg > freecalypso-tools
diff 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 |
line wrap: on
line diff
--- a/rvinterf/asyncshell/usercmd.c Thu Mar 15 04:59:32 2018 +0000 +++ b/rvinterf/asyncshell/usercmd.c Fri Mar 16 00:52:40 2018 +0000 @@ -14,6 +14,9 @@ extern void cmd_disable(); extern void cmd_enable(); extern void cmd_help(); +extern void cmd_key_interactive(); +extern void cmd_keydown_interactive(); +extern void cmd_keyup_interactive(); extern void cmd_poweroff(); extern void cmd_sendat(); extern void cmd_send_interactive(); @@ -37,6 +40,9 @@ {"enable", cmd_enable}, {"exit", cmd_exit}, {"help", cmd_help}, + {"key", cmd_key_interactive}, + {"keydown", cmd_keydown_interactive}, + {"keyup", cmd_keyup_interactive}, {"poweroff", cmd_poweroff}, {"quit", cmd_exit}, {"send", cmd_send_interactive},