Enable shift-insert for Oliver's clipboard paste

This commit is contained in:
David Schmidt 2013-01-30 18:18:11 +00:00
parent 8fe3ffb920
commit b6409c9b2a
2 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,6 @@
/*
GSport - an Apple //gs Emulator
Copyright (C) 2010 by GSport contributors
Copyright (C) 2010 - 2013 by GSport contributors
Based on the KEGS emulator written by and Copyright (C) 2003 Kent Dickey
@ -1720,6 +1720,11 @@ adb_physical_key_update(int a2code, int is_up)
}
}
/* CUA clipboard paste - for those that remember ctrl-insert/shift-insert */
if(is_up == 0 && a2code == 0x72 && SHIFT_DOWN) {
clipboard_paste();
}
/* Only process reset requests here */
if(is_up == 0 && a2code == 0x7f && CTRL_DOWN) {
/* Reset pressed! */

View File

@ -1,6 +1,6 @@
/*
GSport - an Apple //gs Emulator
Copyright (C) 2010 - 2012 by GSport contributors
Copyright (C) 2010 - 2013 by GSport contributors
Based on the KEGS emulator written by and Copyright (C) 2003 Kent Dickey
@ -33,6 +33,9 @@
#endif
#if defined (_WIN32) || defined(__CYGWIN__)
#define WIN32_LEAN_AND_MEAN /* Tell windows we want less header gunk */
#define STRICT /* Tell Windows we want compile type checks */
#include <windows.h> /* Need a definition for LPTSTR in CYGWIN */
extern void get_cwd(LPTSTR buffer, int size);
#endif