Re #148 Added traces for debugging non-working zooming commands on an italian keyboard
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3959 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: a97b494a855e21e14f5b176fe8883e81af07e09f Former-commit-id: 31262517e7ca3c1f37f01fbf49dbb73d4423a9cb
This commit is contained in:
parent
71719ba2b7
commit
aaefb2e991
1 changed files with 4 additions and 2 deletions
|
@ -95,8 +95,10 @@ int GfEventLoop::Private::translateKeySym(int code, int modifier, int unicode)
|
|||
// Truncate unicodes above GF_MAX_KEYCODE (no need for more).
|
||||
keyUnicode = unicode ? (unicode & GF_MAX_KEYCODE) : code;
|
||||
_mapUnicodes[keyId] = keyUnicode;
|
||||
//GfLogDebug("translateKeySym(c=%d, m=%d, u=%d) : New key id=0x%08X, unicode=%d (%d)\n",
|
||||
// code, modifier, unicode, keyId, keyUnicode, _mapUnicodes.size());
|
||||
GfLogDebug("translateKeySym(c=%X, m=%X, u=%X) : '%c', id=%X, ucode=%X (nk=%d)\n",
|
||||
code, modifier, unicode,
|
||||
isprint(keyUnicode) ? (char)keyUnicode : ' ',
|
||||
keyId, keyUnicode, _mapUnicodes.size());
|
||||
}
|
||||
|
||||
// If found, get the unicode from the map.
|
||||
|
|
Loading…
Reference in a new issue