mirror of
https://github.com/david-schmidt/gsport.git
synced 2024-06-25 19:29:36 +00:00
Enable shift-insert for Oliver's clipboard paste
This commit is contained in:
parent
8fe3ffb920
commit
b6409c9b2a
|
@ -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! */
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user