Added menu option to send CTRL-ALT-DELETE to emulated machine. Patch from GeeDee.
This commit is contained in:
parent
13226a2bd4
commit
2be271d050
5 changed files with 20 additions and 0 deletions
10
src/pc.c
10
src/pc.c
|
|
@ -277,6 +277,16 @@ void resetpc()
|
|||
shadowbios=0;
|
||||
}
|
||||
|
||||
void resetpc_cad()
|
||||
{
|
||||
keyboard_send(29); /* Ctrl key pressed */
|
||||
keyboard_send(56); /* Alt key pressed */
|
||||
keyboard_send(83); /* Delete key pressed */
|
||||
keyboard_send(157); /* Ctrl key released */
|
||||
keyboard_send(184); /* Alt key released */
|
||||
keyboard_send(211); /* Delete key released */
|
||||
}
|
||||
|
||||
void resetpchard()
|
||||
{
|
||||
device_close_all();
|
||||
|
|
|
|||
Loading…
Reference in a new issue