[Scummvm-cvs-logs] SF.net SVN: scummvm:[52255] scummvm/trunk/engines/sci/event.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Aug 21 13:34:20 CEST 2010
Revision: 52255
http://scummvm.svn.sourceforge.net/scummvm/?rev=52255&view=rev
Author: thebluegr
Date: 2010-08-21 11:34:19 +0000 (Sat, 21 Aug 2010)
Log Message:
-----------
SCI: Added support for the DEL key
Modified Paths:
--------------
scummvm/trunk/engines/sci/event.cpp
Modified: scummvm/trunk/engines/sci/event.cpp
===================================================================
--- scummvm/trunk/engines/sci/event.cpp 2010-08-21 11:11:54 UTC (rev 52254)
+++ scummvm/trunk/engines/sci/event.cpp 2010-08-21 11:34:19 UTC (rev 52255)
@@ -215,6 +215,11 @@
else
input.character = SCI_KEY_TAB;
}
+ if (input.data == Common::KEYCODE_DELETE) {
+ // Delete key
+ input.type = SCI_EVENT_KEYBOARD;
+ input.data = input.character = SCI_KEY_DELETE;
+ }
} else if ((input.data >= Common::KEYCODE_F1) && input.data <= Common::KEYCODE_F10) {
// F1-F10
input.type = SCI_EVENT_KEYBOARD;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list