зеркало из https://github.com/mozilla/gecko-dev.git
Implement key events in cocoa. Rough, but works. Not part of build.
This commit is contained in:
Родитель
954cb6fb7f
Коммит
c86c91bf0b
|
@ -2275,8 +2275,6 @@ static PRBool IsSpecialRaptorKey(UInt32 macKeyCode)
|
||||||
outGeckoEvent->eventStructType = NS_KEY_EVENT;
|
outGeckoEvent->eventStructType = NS_KEY_EVENT;
|
||||||
[self convert:aKeyEvent message:aMessage toGeckoEvent:outGeckoEvent];
|
[self convert:aKeyEvent message:aMessage toGeckoEvent:outGeckoEvent];
|
||||||
|
|
||||||
printf("The key code is: %d\n", [aKeyEvent keyCode]);
|
|
||||||
|
|
||||||
// Initialize the out boolean for whether or not we are using
|
// Initialize the out boolean for whether or not we are using
|
||||||
// charCodes to false.
|
// charCodes to false.
|
||||||
if (aIsChar)
|
if (aIsChar)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче