カーソル移動をEmacs風にすべく,
key C-*F = Right
key C-*B = Left
key C-*P = Up
key C-*N = Down
の定義をdot.nodokaに書き込んでいますが,いくつかのプログラム内
では,この設定を除外したいと思い,あれこれやっていますがうまくいきません.
------------------------------------------------------------
のどか 4.26 for x64
built by applet@airport (Oct 21 2013 22:52:30, Microsoft(R) 32-bit C/C++ Optimizing Compiler Version 14.00)
started at 2013年12月15日 9:42:01
C:\Program Files\nodoka\nodoka64.exe
use Keyboard filter driver.
use Keyboard LL Hook with Win8 WA
------------------------------------------------------------
それともう一点要望ですが、include で必ずその位置に展開する機能が欲しいです。
今の実装だと、一度 include しているファイルを再度 include しようとしても展開されないようですが
そうではなく、include で書いてあるところすべてに展開するような機能が欲しいです。
これは、複数の(継承元の違う)キーマップに同じ内容を指定したいことがあって・・・。
=================================================================================
------------------------------------------------------------
のどか 4.25_sample for x64
built by applet@airport (Sep 22 2013 18:51:33, Microsoft(R) 32-bit C/C++ Optimizing Compiler Version 14.00)
started at 2014年2月24日 2:13:47
C:\Program Files\nodoka\nodoka64.exe
use Keyboard filter driver.
------------------------------------------------------------
log was cleared at 2014年2月24日 2:30:38
Set show to Normal (MDI)
Set show to Normal
FocusChanged
HWND: 15041c
THREADID:2784
CLASS: C:\Program Files\nodoka\nodoka64.exe:#32770:Button
TITLE: C:\Program Files\nodoka\nodoka64.exe:ログ - のどか:ログのクリア(&L)
m_currentKeyPressCount:1
* Modifier Key
0x38 D-LeftAlt
one shot modifier is NULL
> &OtherWindowClass
* Gen Modifiers {
}
=> 0x38 D-LeftAlt
m_currentKeyPressCount:1
m_currentKeyPressCount:2
E0-0x4b D-A-←
one shot modifier is NULL
> &OtherWindowClass
* Gen Modifiers {
}
=> E0-0x4b D-←
m_currentKeyPressCount:2
m_currentKeyPressCount:1
* Modifier Key
0x38 U-LeftAlt
> &OtherWindowClass
=> 0x38 U-LeftAlt
m_currentKeyPressCount:1
m_currentKeyPressCount:0
E0-0x4b U-←
> &OtherWindowClass
=> E0-0x4b U-←
m_currentKeyPressCount:0
* No key is pressed
* Gen Modifiers {
}
=================================================================================
Set show to Normal (MDI)
Set show to Normal
HWND: a03f0
THREADID:4296
CLASS: C:\Windows\system32\notepad.exe:Notepad
TITLE: C:\Windows\system32\notepad.exe:無題 - メモ帳
Toplevel Window Position/Size: (12, 42) / (943x754)
Desktop Window Position/Size: (0, 0) / (1600x868)
Set show to Normal (MDI)
Set show to Normal
HWND: 50422
THREADID:4296
CLASS: C:\Windows\system32\notepad.exe:Notepad:Edit
TITLE: C:\Windows\system32\notepad.exe:無題 - メモ帳:
Toplevel Window Position/Size: (12, 42) / (943x754)
Desktop Window Position/Size: (0, 0) / (1600x868)
Set show to Normal (MDI)
Set show to Normal
FocusChanged
HWND: 50422
THREADID:4296
CLASS: C:\Windows\system32\notepad.exe:Notepad:Edit
TITLE: C:\Windows\system32\notepad.exe:無題 - メモ帳:
m_currentKeyPressCount:1
* Modifier Key
0x38 D-LeftAlt
one shot modifier is NULL
> &OtherWindowClass
* Gen Modifiers {
}
=> 0x38 D-LeftAlt
m_currentKeyPressCount:1
m_currentKeyPressCount:2
E0-0x4b D-A-←
one shot modifier is NULL
> &OtherWindowClass
* Gen Modifiers {
}
=> E0-0x4b D-←
m_currentKeyPressCount:2
m_currentKeyPressCount:1
* Modifier Key
0x38 U-LeftAlt
> &OtherWindowClass
=> 0x38 U-LeftAlt
m_currentKeyPressCount:1
m_currentKeyPressCount:0
E0-0x4b U-←
> &OtherWindowClass
=> E0-0x4b U-←
m_currentKeyPressCount:0
* No key is pressed
* Gen Modifiers {
}
=========================================
最初に、メモ帳の上で、設定ファイルで定義したA-Rightを押して実行された&DescribeBindingsの結果です。
Set show to Normal (MDI)
Set show to Normal
HWND: 82bcc
THREADID:3640
CLASS: C:\Windows\system32\notepad.exe:Notepad:Edit
TITLE: C:\Windows\system32\notepad.exe:無題 - メモ帳:
Toplevel Window Position/Size: (477, 56) / (907x743)
Desktop Window Position/Size: (96, 0) / (1304x1050)
m_currentKeyPressCount:1
* Modifier Key
0x38 D-LeftAlt
one shot modifier is NULL
> &OtherWindowClass
* Gen Modifiers {
}
=> 0x38 D-LeftAlt
m_currentKeyPressCount:1
m_currentKeyPressCount:2
E0-0x4d D-A-→
one shot modifier is NULL
> &DescribeBindings
window Global ( /.*/ || /.*/ ) = &OtherWindowClass
mod Shift = LeftShift RightShift
mod Control = LeftControl RightControl
mod Alt = LeftAlt RightAlt
mod Windows = LeftWindows RightWindows
key A-← = PageUp
key A-→ = &DescribeBindings