Fixed potential failure to use synergy's keyboard layout when

using low-level keyboard hooks, fixed handling of the global
keyboard layout dead key buffer, fixed identification of dead
keys, fixed synthesis of AltGr (now using right-alt instead
of left-alt), now using VK_DECIMAL for Separator key, fixed
bug where an unmappable key was treated as virtual key 0xff,
and added support for shift-space (shift was being discarded).
Also fixed failure to hide cursor when leaving primary screen
and added support for handling PrintScreen key.
This commit is contained in:
crs
2003-09-06 23:17:41 +00:00
parent 80f3998398
commit 6d3c536717
4 changed files with 225 additions and 110 deletions

View File

@@ -381,6 +381,7 @@ CMSWindowsScreen::enter()
if (m_isPrimary) {
// show the cursor
showCursor(true);
ShowWindow(m_window, SW_HIDE);
m_cursorThread = 0;
// enable special key sequences on win95 family
@@ -405,16 +406,18 @@ bool
CMSWindowsScreen::leave()
{
if (m_isPrimary) {
// show window
/* XXX
// we don't need a window to capture input but we need a window
// to hide the cursor when using low-level hooks. also take the
// activation so we use our keyboard layout, not the layout of
// whatever window was active.
if (m_lowLevel) {
SetWindowPos(m_window, HWND_TOPMOST, m_xCenter, m_yCenter, 1, 1,
SWP_NOACTIVATE);
ShowWindow(m_window, SW_SHOWNA);
ShowWindow(m_window, SW_SHOW);
}
*/
// update keys
/* XXX
// update keys
m_keyMapper.update(NULL);
*/