コミットメタ情報

リビジョンa7e8e77611a7fbed224c31d783aa1519deda1521 (tree)
日時2018-04-01 16:34:35
作者Kazuhiro Fujieda <fujieda@user...>
コミッターKazuhiro Fujieda

ログメッセージ

Fix recursive commands not working on Windows 10

On Windows 10, key press events of vKey 7 are not delivered to
Windows. This interferes with mechanics of recursive commands, and
chokes successive all commands. Using vKey 14 instead of 7 solves
this problem.

変更サマリ

差分

--- a/xkeymacsdll/xkeymacsdll.cpp
+++ b/xkeymacsdll/xkeymacsdll.cpp
@@ -398,7 +398,7 @@ LRESULT CALLBACK CXkeymacsDll::KeyboardProc(int nCode, WPARAM wParam, LPARAM lPa
398398 BYTE nKey = nOrigKey;
399399
400400 static BOOL bLocked = FALSE;
401- static const BYTE RECURSIVE_KEY = 0x07;
401+ static const BYTE RECURSIVE_KEY = 14;
402402 static int (*fLastCommand)() = NULL;
403403 static BYTE nOneShotModifier[MAX_KEY] = {'\0'};
404404 static BOOL bCherryOneShotModifier = FALSE;
旧リポジトリブラウザで表示