Problem with simulated button "{ALT}g"

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
Post Reply
bejoscha
New User
Posts: 7
Joined: Thu Apr 04, 2019 9:59 am

Problem with simulated button "{ALT}g"

Post by bejoscha »

Let me first thank you for this program, it is a life-saver for me using VS2015 and some "shortcuts". Before I used Logitech's SetPoint, but since moving to win10 that software became unstable, slow and simply too horrible to use. I'm so glad I've found this alternative, even if it means I can not use the 6th button on my Logitech M705 mouse.

Anyway, despite having everything work with my initial setup, I'm running into the following problem now:

XMBC Version: 2.18.5
Windows Version: win10 Pro (1809, build 17763.379
Mouse Information (brand/model): Logitech M705
Computer Information:
Did the problem occur after an upgrade of XMBC?: No. Initial setup. Worked yesterday. Doesn't now.
Did the problem occur after a Windows update/upgrade?: No.
How long have you used XMBC?: 2 days
What language and keyboard layout do you use in Windows?: UK-QWERTY & German-QWERTZ

Clear description of the problem:
Using the Simulated Key overload for two buttons, one is set to

Code: Select all

{ALT}g
the other to

Code: Select all

o
When the mouse-buttons are invoked in the program, I do get an output as if the {ALT} modifier has been consumed, i.e. I get

Code: Select all

g
and

Code: Select all

o
directly entered in the text editor.
bejoscha
New User
Posts: 7
Joined: Thu Apr 04, 2019 9:59 am

Re: Problem with simulated button "{ALT}g"

Post by bejoscha »

For further debugging of the issue, I switched on the DEBUG log.
Then I moved the application and performed each of the actions once. (MouseWheel-left. MouseWheel-right).

This is the output:

Code: Select all

04-04-2019 11:20:48.574> Enabling extra debug logging. X-Mouse Button Control v2.18.5 (x64). Hook Timeout: 1000 ms
04-04-2019 11:20:48.574> Monitor \\.\DISPLAY4: DPI (X,Y) = 96, 96
04-04-2019 11:20:48.574> ApplicationSettings; Total wait time for keys '{alt}g' is 2ms
04-04-2019 11:20:48.574> ApplicationSettings; Total wait time for keys 'o' is 1ms
04-04-2019 11:20:48.574> ApplicationSettings; Total wait time for keys '{ALT}o' is 2ms
04-04-2019 11:20:48.574> ApplicationSettings; Total wait time for keys '{CTRL}-' is 2ms
04-04-2019 11:20:48.574> ApplicationSettings; Total wait time for keys '{CTRL}A' is 2ms
04-04-2019 11:20:48.574> ApplicationSettings; Total wait time for keys 'g' is 1ms
04-04-2019 11:20:48.574> ApplicationSettings; Total wait time for keys '{alt}o' is 2ms
04-04-2019 11:20:48.574> Loaded the following settings:
04-04-2019 11:20:48.574>   OfficeMouse: 0, RazorMoouse: 0, ScrollUnder: 1, ScrollLockBypass: 1, ScrollLockBypassDisabled: 0, Swap4and5: 0
04-04-2019 11:20:48.574>   Swap4and5inRDP: 0, DisableInRDP: 0, DisableInvertedScrollInRDP: 0, ShowTrayIcon: 1, DisableReinstallOnResume: 0, Notifications: 1 (Layer 1), MovementToScrollCursor: 1
04-04-2019 11:20:48.574>   ResetStickyOnAnyButton: 0, ResetStickyOnAnyKey: 0, ResetStickyOnLayerChange: 1, GlobalHotkeys: 0, LayerModifierKeys: 0, ProcessNonClientMsgs: 1
04-04-2019 11:20:48.574>   IgnoreNumlock: 1, LeftClickCycleLayers: 0, RemapSimInput: 1, FixTiltRepeat: 0, InitialTiltDelay: 200, RepeatTiltDelay: 100
04-04-2019 11:20:48.574>   CheckVersion: 0, CheckVersionDays: 5, CheckBetaVersion: 0, MouseOver: 1, ActivateScroll: 0
04-04-2019 11:20:48.574>   ActivateOver: 0, FixVS2010: 0, CPUPriority: 128, SimKeyDelay: 1, No. Layers: 1
04-04-2019 11:20:48.574>   EnableOSD: 1, AlwaysShowOSD: 0, LoadUSEnglish: 0, DebounceButtons: 0, DebounceFromUp: 0, DebounceTime: 50
04-04-2019 11:20:48.574>   MouseJiggler: 0, MouseJigglerTimeout: 30, SortActionsAplhabetically: 0
04-04-2019 11:20:48.574>   SearchURL: 'REMOVED SO I CAN POST THIS AS BEGINNER'
04-04-2019 11:20:48.574>   LanguageFile: ''
04-04-2019 11:20:48.574>   There are 2 application specific profiles (2 normal and 0 custom window).
04-04-2019 11:20:48.574> HookDLL: Load Settings took 0ms
04-04-2019 11:20:48.574> SPI is already (3, 0) - no need for further change
04-04-2019 11:20:48.872> ProcessMouseOverTimerProc: Checking MouseOver(1270,859)...
04-04-2019 11:20:51.199> KeyHookLLProc: ALT (0xA4) released, Started 100ms KeySwitchTimer ID: 0x00000000
04-04-2019 11:20:51.308> KeySwitchTimerProc: Checking active app profile...
04-04-2019 11:20:51.308> GetProcessIntegrityLevel for PID 16656 returned 0x00002000
04-04-2019 11:20:51.308> GetProcessName(2 Keyboard): Got name for PID 16656, 'notepad++.exe' for HWND 0x000C1368 using GetProcessImageFileName
04-04-2019 11:20:51.308> GetProcessName result 1 time 0ms
04-04-2019 11:20:51.308> FindAppSettings: Matching profile not found.
04-04-2019 11:20:51.308> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'KeySwitchTimerProc'
04-04-2019 11:20:51.308> Detected new HWND 000C1368 (due to keyboard) from 00061342. The active profile has not changed.
04-04-2019 11:20:51.464> ProcessMouseOverTimerProc: Checking MouseOver(1220,710)...
04-04-2019 11:20:51.683> ProcessMouseOverTimerProc: Checking MouseOver(1220,709)...
04-04-2019 11:20:52.136> MouseHookLLProc: MouseHookData: Msg=0x020e (WM_MOUSEHWHEEL), X=1220, Y=709, Data=0x00780000, Flags=0x00000000, Time=5803953, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:20:52.136> WM_MOUSEHWHEEL: MouseData 0x00780000 (120), Flags 0x00000000, Time 5803953ms, ExtraInfo 0
04-04-2019 11:20:52.136> ProcessButton: Detected active HWND changed from 0x000C1368 to 0x000C1368 (profile window 0x00061342, ProcID 16656). Getting process name...
04-04-2019 11:20:52.136> FindAppSettings: Matching profile not found.
04-04-2019 11:20:52.136> ProcessButton: Profile has not changed when hWnd changed to 000C1368.
04-04-2019 11:20:52.136> Translating TiltRight Button Down Key state 0x0: Action 28 [Simulated Keys 'o' (pressed)]
04-04-2019 11:20:52.136> SendInput::SendKeyState: Queue VKCode=0x4f Scan code=0x18 SendMode=0x8 Flags=0x0 Release=0 Delay=1
04-04-2019 11:20:52.136> SendInput::SendKeyState: Queue VKCode=0x4f Scan code=0x18 SendMode=0x8 Flags=0x0 Release=1 Delay=0
04-04-2019 11:20:52.136> CSendInput::ProcessQueue: Starting to process 2 queue entries
04-04-2019 11:20:52.136> CSendInput::ProcessQueue: Sending 1 SIMULATED INPUTS
04-04-2019 11:20:52.152> ProcessButton: Skipping Window check. Last HWND 000C1368.
04-04-2019 11:20:52.152> Translating TiltRight Button Up Key state 0x0: Action 28 [Simulated Keys 'o' (pressed)]
04-04-2019 11:20:52.152> MouseHookLLProc: Removing message 0x020E (1220,709) from mouse hook queue as we have overridden it.
04-04-2019 11:20:52.152> KeyHookLLProc: CTRL (0x4F) released, Started 100ms KeySwitchTimer ID: 0x00000000
04-04-2019 11:20:52.152> Ignoring key injected by X-Mouse Button Control
04-04-2019 11:20:52.152> CSendInput::ProcessQueue: Sleeping for 2ms
04-04-2019 11:20:52.152> CSendInput::ProcessQueue: Sending 1 SIMULATED INPUTS
04-04-2019 11:20:52.152> KeyHookLLProc: CTRL (0x4F) released, Started 100ms KeySwitchTimer ID: 0x00007840
04-04-2019 11:20:52.152> Ignoring key injected by X-Mouse Button Control
04-04-2019 11:20:52.152> CSendInput::ProcessQueue: Sleeping for 1ms
04-04-2019 11:20:52.152> CSendInput::ProcessQueue: Finished sending 2 queue entries... (Flushed = 0)
04-04-2019 11:20:52.261> KeySwitchTimerProc: Checking active app profile...
04-04-2019 11:20:52.261> FindAppSettings: Matching profile not found.
04-04-2019 11:20:52.261> Detected new HWND 000C1368 (due to keyboard) from 000C1368. The active profile has not changed.
04-04-2019 11:20:52.324> ProcessMouseOverTimerProc: Checking MouseOver(1220,711)...
04-04-2019 11:20:52.792> MouseHookLLProc: MouseHookData: Msg=0x020e (WM_MOUSEHWHEEL), X=1210, Y=697, Data=0xFF880000, Flags=0x00000000, Time=5804609, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:20:52.792> WM_MOUSEHWHEEL: MouseData 0xff880000 (-120), Flags 0x00000000, Time 5804609ms, ExtraInfo 0
04-04-2019 11:20:52.792> ProcessButton: Detected active HWND changed from 0x000C1368 to 0x000C1368 (profile window 0x00061342, ProcID 16656). Getting process name...
04-04-2019 11:20:52.792> FindAppSettings: Matching profile not found.
04-04-2019 11:20:52.792> ProcessButton: Profile has not changed when hWnd changed to 000C1368.
04-04-2019 11:20:52.792> Translating TiltLeft Button Down Key state 0x0: Action 28 [Simulated Keys '{alt}g' (pressed)]
04-04-2019 11:20:52.792> SendInput::SendKeyState: Queue VKCode=0x47 Scan code=0x22 SendMode=0x8 Flags=0x4 Release=0 Delay=1
04-04-2019 11:20:52.792> SendInput::SendKeyState: Queue VKCode=0x47 Scan code=0x22 SendMode=0x8 Flags=0x4 Release=1 Delay=0
04-04-2019 11:20:52.792> CSendInput::ProcessQueue: Starting to process 4 queue entries
04-04-2019 11:20:52.792> CSendInput::ProcessQueue: Sending 1 SIMULATED INPUTS
04-04-2019 11:20:52.792> ProcessButton: Skipping Window check. Last HWND 000C1368.
04-04-2019 11:20:52.792> Translating TiltLeft Button Up Key state 0x0: Action 28 [Simulated Keys '{alt}g' (pressed)]
04-04-2019 11:20:52.792> MouseHookLLProc: Removing message 0x020E (1210,697) from mouse hook queue as we have overridden it.
04-04-2019 11:20:52.792> KeyHookLLProc: CTRL (0xFF) released, Started 100ms KeySwitchTimer ID: 0x00000000
04-04-2019 11:20:52.792> Ignoring key injected by X-Mouse Button Control
04-04-2019 11:20:52.792> CSendInput::ProcessQueue: Sleeping for 2ms
04-04-2019 11:20:52.792> CSendInput::ProcessQueue: Sending 1 SIMULATED INPUTS
04-04-2019 11:20:52.792> KeyHookLLProc: CTRL (0x47) released, Started 100ms KeySwitchTimer ID: 0x0000783B
04-04-2019 11:20:52.792> Ignoring key injected by X-Mouse Button Control
04-04-2019 11:20:52.792> CSendInput::ProcessQueue: Sleeping for 2ms
04-04-2019 11:20:52.808> CSendInput::ProcessQueue: Sending 1 SIMULATED INPUTS
04-04-2019 11:20:52.808> KeyHookLLProc: CTRL (0x47) released, Started 100ms KeySwitchTimer ID: 0x0000783A
04-04-2019 11:20:52.808> Ignoring key injected by X-Mouse Button Control
04-04-2019 11:20:52.808> CSendInput::ProcessQueue: Sleeping for 1ms
04-04-2019 11:20:52.808> CSendInput::ProcessQueue: Sending 1 SIMULATED INPUTS
04-04-2019 11:20:52.808> KeyHookLLProc: CTRL (0xFF) released, Started 100ms KeySwitchTimer ID: 0x00007839
04-04-2019 11:20:52.808> Ignoring key injected by X-Mouse Button Control
04-04-2019 11:20:52.808> CSendInput::ProcessQueue: Sleeping for 1ms
04-04-2019 11:20:52.808> CSendInput::ProcessQueue: Finished sending 4 queue entries... (Flushed = 0)
04-04-2019 11:20:52.917> KeySwitchTimerProc: Checking active app profile...
04-04-2019 11:20:52.917> FindAppSettings: Matching profile not found.
04-04-2019 11:20:52.917> Detected new HWND 000C1368 (due to keyboard) from 000C1368. The active profile has not changed.
04-04-2019 11:20:53.665> KeyHookLLProc: ALT (0xA4) released, Started 100ms KeySwitchTimer ID: 0x00000000
04-04-2019 11:20:53.775> KeySwitchTimerProc: Checking active app profile...
04-04-2019 11:20:53.775> GetProcessIntegrityLevel for PID 15024 returned 0x00003000
04-04-2019 11:20:53.775> GetProcessName(2 Keyboard): Got name for PID 15024, 'xmousebuttoncontrol.exe' for HWND 0x000514C4 using GetProcessImageFileName
04-04-2019 11:20:53.775> GetProcessName result 1 time 0ms
04-04-2019 11:20:53.775> FindAppSettings: Matching profile not found.
04-04-2019 11:20:53.775> Detected new HWND 000514C4 (due to keyboard) from 000C1368. The active profile has not changed.
04-04-2019 11:20:54.555> ProcessMouseOverTimerProc: Checking MouseOver(1257,716)...
04-04-2019 11:20:54.555> FindAppSettings: Matching profile not found.
04-04-2019 11:20:54.727> ProcessMouseOverTimerProc: Checking MouseOver(1276,703)...
04-04-2019 11:20:54.727> FindAppSettings: Matching profile not found.
04-04-2019 11:20:54.884> ProcessMouseOverTimerProc: Checking MouseOver(1283,766)...
04-04-2019 11:20:54.884> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'ProcessMouseOverTimerProc'
04-04-2019 11:20:54.884> FindAppSettings: Matching profile not found.
04-04-2019 11:20:55.039> ProcessMouseOverTimerProc: Checking MouseOver(1286,802)...
04-04-2019 11:20:55.039> FindAppSettings: Matching profile not found.
04-04-2019 11:20:55.196> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'ProcessMouseOverTimerProc'
04-04-2019 11:20:55.196> ProcessMouseOverTimerProc: Checking MouseOver(1247,843)...
04-04-2019 11:20:55.196> FindAppSettings: Matching profile not found.
04-04-2019 11:20:55.367> ProcessMouseOverTimerProc: Checking MouseOver(1234,833)...
04-04-2019 11:20:55.367> FindAppSettings: Matching profile not found.
04-04-2019 11:20:55.524> ProcessMouseOverTimerProc: Checking MouseOver(1252,756)...
04-04-2019 11:20:55.524> FindAppSettings: Matching profile not found.
04-04-2019 11:20:55.680> ProcessMouseOverTimerProc: Checking MouseOver(1315,665)...
04-04-2019 11:20:55.680> FindAppSettings: Matching profile not found.
04-04-2019 11:20:55.836> ProcessMouseOverTimerProc: Checking MouseOver(1364,626)...
04-04-2019 11:20:55.836> FindAppSettings: Matching profile not found.
04-04-2019 11:20:56.055> ProcessMouseOverTimerProc: Checking MouseOver(1365,623)...
04-04-2019 11:20:56.555> ProcessMouseOverTimerProc: Checking MouseOver(1210,687)...
04-04-2019 11:20:56.555> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'ProcessMouseOverTimerProc'
04-04-2019 11:20:56.555> FindAppSettings: Matching profile not found.
04-04-2019 11:20:56.711> ProcessMouseOverTimerProc: Checking MouseOver(1189,692)...
04-04-2019 11:20:57.086> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'ProcessMouseOverTimerProc'
04-04-2019 11:20:57.086> ProcessMouseOverTimerProc: Checking MouseOver(865,457)...
04-04-2019 11:20:57.086> FindAppSettings: Matching profile not found.
04-04-2019 11:20:57.242> Unable to enter critical section in 'ProcessMouseOverTimerProc' (TID: 00003DEC) as it is locked by 'WM_MOUSEMOVE'
04-04-2019 11:20:57.242> ProcessMouseOverTimerProc: Thread locked - skipping
04-04-2019 11:20:57.398> ProcessMouseOverTimerProc: Checking MouseOver(687,310)...
04-04-2019 11:20:57.398> FindAppSettings: Matching profile not found.
04-04-2019 11:20:57.555> ProcessMouseOverTimerProc: Checking MouseOver(606,302)...
04-04-2019 11:20:57.867> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'ProcessMouseOverTimerProc'
04-04-2019 11:20:57.867> ProcessMouseOverTimerProc: Checking MouseOver(626,558)...
04-04-2019 11:20:57.867> FindAppSettings: Matching profile not found.
04-04-2019 11:20:58.023> ProcessMouseOverTimerProc: Checking MouseOver(672,716)...
04-04-2019 11:20:58.180> ProcessMouseOverTimerProc: Checking MouseOver(682,739)...
04-04-2019 11:20:58.336> ProcessMouseOverTimerProc: Checking MouseOver(661,826)...
04-04-2019 11:20:58.336> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'ProcessMouseOverTimerProc'
04-04-2019 11:20:58.336> FindAppSettings: Matching profile not found.
04-04-2019 11:20:58.492> ProcessMouseOverTimerProc: Checking MouseOver(639,852)...
04-04-2019 11:20:58.492> FindAppSettings: Matching profile not found.
04-04-2019 11:20:58.648> ProcessMouseOverTimerProc: Checking MouseOver(605,864)...
04-04-2019 11:20:58.648> FindAppSettings: Matching profile not found.
04-04-2019 11:20:58.805> ProcessMouseOverTimerProc: Checking MouseOver(570,856)...
04-04-2019 11:20:58.805> FindAppSettings: Matching profile not found.
04-04-2019 11:20:58.992> MouseHookLLProc: MouseHookData: Msg=0x0201 (WM_LBUTTONDOWN), X=570, Y=856, Data=0x00000000, Flags=0x00000000, Time=5810812, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:20:58.992> Translating Left Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:20:58.992> MouseHookLLProc: Passing original mouse message 00000201 through....
04-04-2019 11:20:59.055> MouseHookLLProc: MouseHookData: Msg=0x0202 (WM_LBUTTONUP), X=570, Y=856, Data=0x00000000, Flags=0x00000000, Time=5810875, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:20:59.055> Translating Left Button Up Key state 0x1: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:20:59.055> MouseHookLLProc: Passing original mouse message 00000202 through....
04-04-2019 11:20:59.367> ProcessMouseOverTimerProc: Checking MouseOver(570,856)...
04-04-2019 11:20:59.367> FindAppSettings: Matching profile not found.
04-04-2019 11:20:59.648> ProcessMouseOverTimerProc: Checking MouseOver(1240,553)...
04-04-2019 11:20:59.648> FindAppSettings: Matching profile not found.
04-04-2019 11:20:59.804> Unable to enter critical section in 'ProcessMouseOverTimerProc' (TID: 00003DEC) as it is locked by 'WM_MOUSEMOVE'
04-04-2019 11:20:59.804> ProcessMouseOverTimerProc: Thread locked - skipping
04-04-2019 11:20:59.961> ProcessMouseOverTimerProc: Checking MouseOver(1116,313)...
04-04-2019 11:20:59.961> FindAppSettings: Matching profile not found.
04-04-2019 11:21:00.288> ProcessMouseOverTimerProc: Checking MouseOver(1067,348)...
04-04-2019 11:21:00.288> FindAppSettings: Matching profile not found.
04-04-2019 11:21:00.445> ProcessMouseOverTimerProc: Checking MouseOver(959,373)...
04-04-2019 11:21:00.445> FindAppSettings: Matching profile not found.
04-04-2019 11:21:00.851> ProcessMouseOverTimerProc: Checking MouseOver(867,362)...
04-04-2019 11:21:00.851> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'ProcessMouseOverTimerProc'
04-04-2019 11:21:00.851> FindAppSettings: Matching profile not found.
04-04-2019 11:21:01.007> ProcessMouseOverTimerProc: Checking MouseOver(822,364)...
04-04-2019 11:21:01.226> ProcessMouseOverTimerProc: Checking MouseOver(807,362)...
04-04-2019 11:21:01.304> MouseHookLLProc: MouseHookData: Msg=0x0201 (WM_LBUTTONDOWN), X=807, Y=362, Data=0x00000000, Flags=0x00000000, Time=5813125, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:21:01.304> Translating Left Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:21:01.304> MouseHookLLProc: Passing original mouse message 00000201 through....
04-04-2019 11:21:01.382> MouseHookLLProc: MouseHookData: Msg=0x0202 (WM_LBUTTONUP), X=807, Y=362, Data=0x00000000, Flags=0x00000000, Time=5813203, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:21:01.382> Translating Left Button Up Key state 0x1: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:21:01.382> MouseHookLLProc: Passing original mouse message 00000202 through....
04-04-2019 11:21:01.694> ProcessMouseOverTimerProc: Checking MouseOver(807,362)...
04-04-2019 11:21:01.991> MouseHookLLProc: MouseHookData: Msg=0x0201 (WM_LBUTTONDOWN), X=839, Y=357, Data=0x00000000, Flags=0x00000000, Time=5813812, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:21:01.991> Translating Left Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:21:01.991> MouseHookLLProc: Passing original mouse message 00000201 through....
04-04-2019 11:21:02.007> ProcessMouseOverTimerProc: Checking MouseOver(839,357)...
04-04-2019 11:21:02.085> MouseHookLLProc: MouseHookData: Msg=0x0202 (WM_LBUTTONUP), X=839, Y=357, Data=0x00000000, Flags=0x00000000, Time=5813906, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:21:02.085> Translating Left Button Up Key state 0x1: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:21:02.085> MouseHookLLProc: Passing original mouse message 00000202 through....
04-04-2019 11:21:02.398> ProcessMouseOverTimerProc: Checking MouseOver(882,357)...
04-04-2019 11:21:02.398> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'ProcessMouseOverTimerProc'
04-04-2019 11:21:02.553> ProcessMouseOverTimerProc: Checking MouseOver(924,360)...
04-04-2019 11:21:02.710> ProcessMouseOverTimerProc: Checking MouseOver(950,366)...
04-04-2019 11:21:03.100> MouseHookLLProc: MouseHookData: Msg=0x0201 (WM_LBUTTONDOWN), X=950, Y=366, Data=0x00000000, Flags=0x00000000, Time=5814921, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:21:03.100> Translating Left Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:21:03.100> MouseHookLLProc: Passing original mouse message 00000201 through....
04-04-2019 11:21:03.163> MouseHookLLProc: MouseHookData: Msg=0x0202 (WM_LBUTTONUP), X=949, Y=366, Data=0x00000000, Flags=0x00000000, Time=5814984, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:21:03.163> Translating Left Button Up Key state 0x1: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:21:03.163> MouseHookLLProc: Passing original mouse message 00000202 through....
04-04-2019 11:21:03.475> ProcessMouseOverTimerProc: Checking MouseOver(987,370)...
04-04-2019 11:21:03.475> FindAppSettings: Matching profile not found.
04-04-2019 11:21:03.725> ProcessMouseOverTimerProc: Checking MouseOver(972,369)...
04-04-2019 11:21:03.881> ProcessMouseOverTimerProc: Checking MouseOver(954,361)...
04-04-2019 11:21:03.881> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'ProcessMouseOverTimerProc'
04-04-2019 11:21:03.881> FindAppSettings: Matching profile not found.
04-04-2019 11:21:04.163> ProcessMouseOverTimerProc: Checking MouseOver(954,359)...
04-04-2019 11:21:04.584> MouseHookLLProc: MouseHookData: Msg=0x0201 (WM_LBUTTONDOWN), X=954, Y=359, Data=0x00000000, Flags=0x00000000, Time=5816406, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:21:04.584> Translating Left Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:21:04.584> MouseHookLLProc: Passing original mouse message 00000201 through....
04-04-2019 11:21:04.694> MouseHookLLProc: MouseHookData: Msg=0x0202 (WM_LBUTTONUP), X=954, Y=359, Data=0x00000000, Flags=0x00000000, Time=5816515, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:21:04.694> Translating Left Button Up Key state 0x1: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:21:04.694> MouseHookLLProc: Passing original mouse message 00000202 through....
04-04-2019 11:21:05.006> ProcessMouseOverTimerProc: Checking MouseOver(954,359)...
04-04-2019 11:21:06.209> ProcessMouseOverTimerProc: Checking MouseOver(1007,435)...
04-04-2019 11:21:06.209> FindAppSettings: Matching profile not found.
04-04-2019 11:21:06.365> ProcessMouseOverTimerProc: Checking MouseOver(1067,576)...
04-04-2019 11:21:06.365> FindAppSettings: Matching profile not found.
04-04-2019 11:21:06.600> ProcessMouseOverTimerProc: Checking MouseOver(1068,576)...
04-04-2019 11:21:06.834> ProcessMouseOverTimerProc: Checking MouseOver(1083,559)...
04-04-2019 11:21:06.834> MouseHookLLProc: MouseHookData: Msg=0x0201 (WM_LBUTTONDOWN), X=1083, Y=559, Data=0x00000000, Flags=0x00000000, Time=5818656, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:21:06.834> Unable to enter critical section for lock 'GetProcessName' (TID: 00003DEC) because it is already locked by 'MouseHookLLProc 1' - Waiting...
04-04-2019 11:21:06.834> ProcessButton: Detected active HWND changed from 0x0004141A to 0x00050FFA (profile window 0x0004141A, ProcID 15024). Getting process name...
04-04-2019 11:21:06.834> FindAppSettings: Matching profile not found.
04-04-2019 11:21:06.834> ProcessButton: Profile has not changed when hWnd changed to 00050FFA.
04-04-2019 11:21:06.834> Translating Left Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:21:06.834> MouseHookLLProc: Passing original mouse message 00000201 through....
04-04-2019 11:21:06.834> Obtained lock for 'GetProcessName' after 0ms.
04-04-2019 11:21:06.834> FindAppSettings: Matching profile not found.
04-04-2019 11:21:06.912> MouseHookLLProc: MouseHookData: Msg=0x0202 (WM_LBUTTONUP), X=1083, Y=559, Data=0x00000000, Flags=0x00000000, Time=5818734, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:21:06.912> Translating Left Button Up Key state 0x1: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:21:06.912> MouseHookLLProc: Passing original mouse message 00000202 through....
bejoscha
New User
Posts: 7
Joined: Thu Apr 04, 2019 9:59 am

Re: Problem with simulated button "{ALT}g"

Post by bejoscha »

I repeated the above (in order to have it cleaner).
Now I didn't use the default profile but one set up for Notepad++.
I switched DEBUG LOG on/off before/after the experiment - in which I only tab-changed to NotePad++ and performed both mouse-button-actions, then tab-changed back. The log of the relevant section is

Code: Select all

04-04-2019 11:33:14.688> Enabling extra debug logging. X-Mouse Button Control v2.18.5 (x64). Hook Timeout: 1000 ms
04-04-2019 11:33:14.688> Monitor \\.\DISPLAY4: DPI (X,Y) = 96, 96
04-04-2019 11:33:14.688> ApplicationSettings; Total wait time for keys '{ALT}o' is 2ms
04-04-2019 11:33:14.688> ApplicationSettings; Total wait time for keys '{CTRL}-' is 2ms
04-04-2019 11:33:14.688> ApplicationSettings; Total wait time for keys '{CTRL}A' is 2ms
04-04-2019 11:33:14.688> ApplicationSettings; Total wait time for keys 'O' is 1ms
04-04-2019 11:33:14.688> ApplicationSettings; Total wait time for keys '{ALT}G' is 2ms
04-04-2019 11:33:14.688> Loaded the following settings:
04-04-2019 11:33:14.688>   OfficeMouse: 0, RazorMoouse: 0, ScrollUnder: 1, ScrollLockBypass: 1, ScrollLockBypassDisabled: 0, Swap4and5: 0
04-04-2019 11:33:14.688>   Swap4and5inRDP: 0, DisableInRDP: 0, DisableInvertedScrollInRDP: 0, ShowTrayIcon: 1, DisableReinstallOnResume: 0, Notifications: 1 (Layer 1), MovementToScrollCursor: 1
04-04-2019 11:33:14.688>   ResetStickyOnAnyButton: 0, ResetStickyOnAnyKey: 0, ResetStickyOnLayerChange: 1, GlobalHotkeys: 0, LayerModifierKeys: 0, ProcessNonClientMsgs: 1
04-04-2019 11:33:14.688>   IgnoreNumlock: 1, LeftClickCycleLayers: 0, RemapSimInput: 1, FixTiltRepeat: 0, InitialTiltDelay: 200, RepeatTiltDelay: 100
04-04-2019 11:33:14.688>   CheckVersion: 0, CheckVersionDays: 5, CheckBetaVersion: 0, MouseOver: 1, ActivateScroll: 0
04-04-2019 11:33:14.688>   ActivateOver: 0, FixVS2010: 0, CPUPriority: 128, SimKeyDelay: 1, No. Layers: 1
04-04-2019 11:33:14.688>   EnableOSD: 1, AlwaysShowOSD: 0, LoadUSEnglish: 0, DebounceButtons: 0, DebounceFromUp: 0, DebounceTime: 50
04-04-2019 11:33:14.688>   MouseJiggler: 0, MouseJigglerTimeout: 30, SortActionsAplhabetically: 0
04-04-2019 11:33:14.688>   SearchURL: 'REMOVED'
04-04-2019 11:33:14.688>   LanguageFile: ''
04-04-2019 11:33:14.688>   There are 2 application specific profiles (2 normal and 0 custom window).
04-04-2019 11:33:14.688> HookDLL: Load Settings took 0ms
04-04-2019 11:33:14.688> SPI is already (3, 0) - no need for further change
04-04-2019 11:33:15.001> ProcessMouseOverTimerProc: Checking MouseOver(1306,857)...
04-04-2019 11:33:15.751> ProcessMouseOverTimerProc: Checking MouseOver(1310,824)...
04-04-2019 11:33:15.751> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'ProcessMouseOverTimerProc'
04-04-2019 11:33:15.751> FindAppSettings: Matching profile not found.
04-04-2019 11:33:15.907> ProcessMouseOverTimerProc: Checking MouseOver(1312,781)...
04-04-2019 11:33:15.907> FindAppSettings: Matching profile not found.
04-04-2019 11:33:16.063> ProcessMouseOverTimerProc: Checking MouseOver(1292,746)...
04-04-2019 11:33:16.063> FindAppSettings: Matching profile not found.
04-04-2019 11:33:16.329> ProcessMouseOverTimerProc: Checking MouseOver(1288,741)...
04-04-2019 11:33:17.782> KeyHookLLProc: ALT (0xA4) released, Started 100ms KeySwitchTimer ID: 0x00000000
04-04-2019 11:33:17.891> KeySwitchTimerProc: Checking active app profile...
04-04-2019 11:33:17.891> GetProcessIntegrityLevel for PID 16656 returned 0x00002000
04-04-2019 11:33:17.891> GetProcessName(2 Keyboard): Got name for PID 16656, 'notepad++.exe' for HWND 0x000C1368 using GetProcessImageFileName
04-04-2019 11:33:17.891> GetProcessName result 1 time 0ms
04-04-2019 11:33:17.891> Found application profile 'NotePad++' for 'notepad++.exe'.
04-04-2019 11:33:17.891> Detected active app/window change (due to keyboard) from 'explorer.exe' to 'notepad++.exe'.
04-04-2019 11:33:17.891> Enabling 'NotePad++' application specific button settings for process 'notepad++.exe'...
04-04-2019 11:33:17.891>   Layer 0: Left = ** No Change (Don't intercept) **, Right = ** No Change (Don't intercept) **, Middle = ** No Change (Don't intercept) **, 4th = ** No Change (Don't intercept) **, 5th = ** No Change (Don't intercept) **, Scroll Up = ** No Change (Don't intercept) **, Scroll Down = ** No Change (Don't intercept) **, Tilt Left = Simulated Keys, Tilt Right = Simulated Keys
04-04-2019 11:33:17.891>   InvertScrolling=off InvertHorizontalScrolling=off ScrollPages=off SwapButtons=0
04-04-2019 11:33:17.891> SPI is already (3, 0) - no need for further change
04-04-2019 11:33:17.891> CSetupDialog: OnProcessChangeMessage called with HWND 000C1368, App Profile 'NotePad++' - 'notepad++.exe'
04-04-2019 11:33:17.891> ProcessMouseOverTimerProc: Checking MouseOver(1062,524)...
04-04-2019 11:33:18.047> ProcessMouseOverTimerProc: Checking MouseOver(919,422)...
04-04-2019 11:33:18.047> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'ProcessMouseOverTimerProc'
04-04-2019 11:33:18.203> ProcessMouseOverTimerProc: Checking MouseOver(837,368)...
04-04-2019 11:33:18.360> ProcessMouseOverTimerProc: Checking MouseOver(799,335)...
04-04-2019 11:33:18.672> ProcessMouseOverTimerProc: Checking MouseOver(795,330)...
04-04-2019 11:33:19.250> ProcessMouseOverTimerProc: Checking MouseOver(795,329)...
04-04-2019 11:33:19.312> MouseHookLLProc: MouseHookData: Msg=0x020e (WM_MOUSEHWHEEL), X=795, Y=329, Data=0xFF880000, Flags=0x00000000, Time=6551125, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:33:19.312> WM_MOUSEHWHEEL: MouseData 0xff880000 (-120), Flags 0x00000000, Time 6551125ms, ExtraInfo 0
04-04-2019 11:33:19.312> Translating TiltLeft Button Down Key state 0x0: Action 28 [Simulated Keys 'O' (pressed)]
04-04-2019 11:33:19.312> SendInput::SendKeyState: Queue VKCode=0x4f Scan code=0x18 SendMode=0x8 Flags=0x0 Release=0 Delay=1
04-04-2019 11:33:19.312> SendInput::SendKeyState: Queue VKCode=0x4f Scan code=0x18 SendMode=0x8 Flags=0x0 Release=1 Delay=0
04-04-2019 11:33:19.312> CSendInput::ProcessQueue: Starting to process 2 queue entries
04-04-2019 11:33:19.312> CSendInput::ProcessQueue: Sending 1 SIMULATED INPUTS
04-04-2019 11:33:19.312> ProcessButton: Skipping Window check. Last HWND 000C1368.
04-04-2019 11:33:19.312> Translating TiltLeft Button Up Key state 0x0: Action 28 [Simulated Keys 'O' (pressed)]
04-04-2019 11:33:19.312> MouseHookLLProc: Removing message 0x020E (795,329) from mouse hook queue as we have overridden it.
04-04-2019 11:33:19.312> KeyHookLLProc: CTRL (0x4F) released, Started 100ms KeySwitchTimer ID: 0x00000000
04-04-2019 11:33:19.312> Ignoring key injected by X-Mouse Button Control
04-04-2019 11:33:19.312> CSendInput::ProcessQueue: Sleeping for 2ms
04-04-2019 11:33:19.312> CSendInput::ProcessQueue: Sending 1 SIMULATED INPUTS
04-04-2019 11:33:19.328> KeyHookLLProc: CTRL (0x4F) released, Started 100ms KeySwitchTimer ID: 0x00006FA8
04-04-2019 11:33:19.328> Ignoring key injected by X-Mouse Button Control
04-04-2019 11:33:19.328> CSendInput::ProcessQueue: Sleeping for 1ms
04-04-2019 11:33:19.328> CSendInput::ProcessQueue: Finished sending 2 queue entries... (Flushed = 0)
04-04-2019 11:33:19.438> KeySwitchTimerProc: Checking active app profile...
04-04-2019 11:33:19.640> ProcessMouseOverTimerProc: Checking MouseOver(787,332)...
04-04-2019 11:33:19.796> ProcessMouseOverTimerProc: Checking MouseOver(790,331)...
04-04-2019 11:33:20.297> ProcessMouseOverTimerProc: Checking MouseOver(791,331)...
04-04-2019 11:33:20.390> MouseHookLLProc: MouseHookData: Msg=0x020e (WM_MOUSEHWHEEL), X=791, Y=331, Data=0x00780000, Flags=0x00000000, Time=6552203, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:33:20.390> WM_MOUSEHWHEEL: MouseData 0x00780000 (120), Flags 0x00000000, Time 6552203ms, ExtraInfo 0
04-04-2019 11:33:20.390> Translating TiltRight Button Down Key state 0x0: Action 28 [Simulated Keys '{ALT}G' (pressed)]
04-04-2019 11:33:20.390> SendInput::SendKeyState: Queue VKCode=0x47 Scan code=0x22 SendMode=0x8 Flags=0x4 Release=0 Delay=1
04-04-2019 11:33:20.390> SendInput::SendKeyState: Queue VKCode=0x47 Scan code=0x22 SendMode=0x8 Flags=0x4 Release=1 Delay=0
04-04-2019 11:33:20.390> CSendInput::ProcessQueue: Starting to process 4 queue entries
04-04-2019 11:33:20.390> CSendInput::ProcessQueue: Sending 1 SIMULATED INPUTS
04-04-2019 11:33:20.390> ProcessButton: Skipping Window check. Last HWND 000C1368.
04-04-2019 11:33:20.390> Translating TiltRight Button Up Key state 0x0: Action 28 [Simulated Keys '{ALT}G' (pressed)]
04-04-2019 11:33:20.390> MouseHookLLProc: Removing message 0x020E (791,331) from mouse hook queue as we have overridden it.
04-04-2019 11:33:20.390> KeyHookLLProc: CTRL (0xFF) released, Started 100ms KeySwitchTimer ID: 0x00000000
04-04-2019 11:33:20.390> Ignoring key injected by X-Mouse Button Control
04-04-2019 11:33:20.390> CSendInput::ProcessQueue: Sleeping for 2ms
04-04-2019 11:33:20.390> CSendInput::ProcessQueue: Sending 1 SIMULATED INPUTS
04-04-2019 11:33:20.406> KeyHookLLProc: CTRL (0x47) released, Started 100ms KeySwitchTimer ID: 0x00006F9C
04-04-2019 11:33:20.406> Ignoring key injected by X-Mouse Button Control
04-04-2019 11:33:20.406> CSendInput::ProcessQueue: Sleeping for 2ms
04-04-2019 11:33:20.406> CSendInput::ProcessQueue: Sending 1 SIMULATED INPUTS
04-04-2019 11:33:20.406> KeyHookLLProc: CTRL (0x47) released, Started 100ms KeySwitchTimer ID: 0x00006F9B
04-04-2019 11:33:20.406> Ignoring key injected by X-Mouse Button Control
04-04-2019 11:33:20.406> CSendInput::ProcessQueue: Sleeping for 1ms
04-04-2019 11:33:20.406> CSendInput::ProcessQueue: Sending 1 SIMULATED INPUTS
04-04-2019 11:33:20.406> KeyHookLLProc: CTRL (0xFF) released, Started 100ms KeySwitchTimer ID: 0x00006F9A
04-04-2019 11:33:20.406> Ignoring key injected by X-Mouse Button Control
04-04-2019 11:33:20.406> CSendInput::ProcessQueue: Sleeping for 1ms
04-04-2019 11:33:20.406> CSendInput::ProcessQueue: Finished sending 4 queue entries... (Flushed = 0)
04-04-2019 11:33:20.515> KeySwitchTimerProc: Checking active app profile...
04-04-2019 11:33:20.562> ProcessMouseOverTimerProc: Checking MouseOver(793,331)...
04-04-2019 11:33:20.730> ProcessMouseOverTimerProc: Checking MouseOver(796,331)...
04-04-2019 11:33:21.339> KeyHookLLProc: ALT (0xA4) released, Started 100ms KeySwitchTimer ID: 0x00000000
04-04-2019 11:33:21.449> KeySwitchTimerProc: Checking active app profile...
04-04-2019 11:33:21.449> GetProcessIntegrityLevel for PID 15024 returned 0x00003000
04-04-2019 11:33:21.449> GetProcessName(2 Keyboard): Got name for PID 15024, 'xmousebuttoncontrol.exe' for HWND 0x000514C4 using GetProcessImageFileName
04-04-2019 11:33:21.449> GetProcessName result 1 time 0ms
04-04-2019 11:33:21.449> FindAppSettings: Matching profile not found.
04-04-2019 11:33:21.449> Detected active app/window change (due to keyboard) from 'notepad++.exe' to 'xmousebuttoncontrol.exe'.
04-04-2019 11:33:21.449> Enabling default button settings...
04-04-2019 11:33:21.449>   Layer 0: Left = ** No Change (Don't intercept) **, Right = ** No Change (Don't intercept) **, Middle = ** No Change (Don't intercept) **, 4th = ** No Change (Don't intercept) **, 5th = ** No Change (Don't intercept) **, Scroll Up = ** No Change (Don't intercept) **, Scroll Down = ** No Change (Don't intercept) **, Tilt Left = ** No Change (Don't intercept) **, Tilt Right = ** No Change (Don't intercept) **
04-04-2019 11:33:21.449>   InvertScrolling=off InvertHorizontalScrolling=off ScrollPages=off SwapButtons=0
04-04-2019 11:33:21.449> SPI is already (3, 0) - no need for further change
04-04-2019 11:33:22.495> ProcessMouseOverTimerProc: Checking MouseOver(972,500)...
04-04-2019 11:33:22.495> FindAppSettings: Matching profile not found.
04-04-2019 11:33:22.651> ProcessMouseOverTimerProc: Checking MouseOver(937,628)...
04-04-2019 11:33:22.651> FindAppSettings: Matching profile not found.
04-04-2019 11:33:22.808> ProcessMouseOverTimerProc: Checking MouseOver(786,790)...
04-04-2019 11:33:22.808> FindAppSettings: Matching profile not found.
04-04-2019 11:33:22.964> ProcessMouseOverTimerProc: Checking MouseOver(686,845)...
04-04-2019 11:33:22.964> FindAppSettings: Matching profile not found.
04-04-2019 11:33:23.120> ProcessMouseOverTimerProc: Checking MouseOver(620,852)...
04-04-2019 11:33:23.417> ProcessMouseOverTimerProc: Checking MouseOver(562,854)...
04-04-2019 11:33:23.417> FindAppSettings: Matching profile not found.
04-04-2019 11:33:23.636> MouseHookLLProc: MouseHookData: Msg=0x0201 (WM_LBUTTONDOWN), X=562, Y=854, Data=0x00000000, Flags=0x00000000, Time=6555453, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:33:23.636> Translating Left Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:33:23.636> MouseHookLLProc: Passing original mouse message 00000201 through....
04-04-2019 11:33:23.714> MouseHookLLProc: MouseHookData: Msg=0x0202 (WM_LBUTTONUP), X=562, Y=855, Data=0x00000000, Flags=0x00000000, Time=6555531, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:33:23.714> Translating Left Button Up Key state 0x1: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:33:23.714> MouseHookLLProc: Passing original mouse message 00000202 through....
04-04-2019 11:33:24.026> ProcessMouseOverTimerProc: Checking MouseOver(562,855)...
04-04-2019 11:33:24.026> FindAppSettings: Matching profile not found.
04-04-2019 11:33:24.370> ProcessMouseOverTimerProc: Checking MouseOver(1234,777)...
04-04-2019 11:33:24.370> FindAppSettings: Matching profile not found.
04-04-2019 11:33:24.526> ProcessMouseOverTimerProc: Checking MouseOver(1478,569)...
04-04-2019 11:33:24.526> GetProcessIntegrityLevel for PID 16656 returned 0x00002000
04-04-2019 11:33:24.526> GetProcessName(7 WindowFromHWND): Got name for PID 16656, 'notepad++.exe' for HWND 0x000C1368 using GetProcessImageFileName
04-04-2019 11:33:24.526> GetProcessName result 1 time 0ms
04-04-2019 11:33:24.526> Found application profile 'NotePad++' for 'notepad++.exe'.
04-04-2019 11:33:24.526> Unable to enter critical section for lock 'CWheel Reset' (TID: 00003DEC) because it is already locked by 'WM_MOUSEMOVE' - Waiting...
04-04-2019 11:33:24.526> Obtained lock for 'CWheel Reset' after 0ms.
04-04-2019 11:33:24.526> Detected active app/window change (due to mouse over [1478,569]) from 'xmousebuttoncontrol.exe' (0x00061026) to 'notepad++.exe' (0x000C1368).
04-04-2019 11:33:24.526> Enabling 'NotePad++' application specific button settings for process 'notepad++.exe'...
04-04-2019 11:33:24.526>   Layer 0: Left = ** No Change (Don't intercept) **, Right = ** No Change (Don't intercept) **, Middle = ** No Change (Don't intercept) **, 4th = ** No Change (Don't intercept) **, 5th = ** No Change (Don't intercept) **, Scroll Up = ** No Change (Don't intercept) **, Scroll Down = ** No Change (Don't intercept) **, Tilt Left = Simulated Keys, Tilt Right = Simulated Keys
04-04-2019 11:33:24.526>   InvertScrolling=off InvertHorizontalScrolling=off ScrollPages=off SwapButtons=0
04-04-2019 11:33:24.526> Enabling layer 0
04-04-2019 11:33:24.526> SPI is already (3, 0) - no need for further change
04-04-2019 11:33:24.526> CSetupDialog: OnProcessChangeMessage called with HWND 000C1368, App Profile 'NotePad++' - 'notepad++.exe'
04-04-2019 11:33:24.682> ProcessMouseOverTimerProc: Checking MouseOver(1536,397)...
04-04-2019 11:33:24.838> ProcessMouseOverTimerProc: Checking MouseOver(1538,370)...
04-04-2019 11:33:24.994> ProcessMouseOverTimerProc: Checking MouseOver(1524,298)...
04-04-2019 11:33:25.151> ProcessMouseOverTimerProc: Checking MouseOver(1506,220)...
04-04-2019 11:33:25.307> ProcessMouseOverTimerProc: Checking MouseOver(1455,135)...
04-04-2019 11:33:25.463> ProcessMouseOverTimerProc: Checking MouseOver(1273,76)...
04-04-2019 11:33:25.463> Found application profile 'NotePad++' for 'notepad++.exe'.
04-04-2019 11:33:25.619> ProcessMouseOverTimerProc: Checking MouseOver(1203,62)...
04-04-2019 11:33:25.619> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'ProcessMouseOverTimerProc'
04-04-2019 11:33:25.619> Found application profile 'NotePad++' for 'notepad++.exe'.
04-04-2019 11:33:25.775> ProcessMouseOverTimerProc: Checking MouseOver(1159,191)...
04-04-2019 11:33:25.775> Found application profile 'NotePad++' for 'notepad++.exe'.
04-04-2019 11:33:25.932> ProcessMouseOverTimerProc: Checking MouseOver(1029,281)...
04-04-2019 11:33:26.088> ProcessMouseOverTimerProc: Checking MouseOver(1013,293)...
04-04-2019 11:33:26.088> GetProcessIntegrityLevel for PID 15024 returned 0x00003000
04-04-2019 11:33:26.088> GetProcessName(7 WindowFromHWND): Got name for PID 15024, 'xmousebuttoncontrol.exe' for HWND 0x0018109A using GetProcessImageFileName
04-04-2019 11:33:26.088> GetProcessName result 1 time 0ms
04-04-2019 11:33:26.088> FindAppSettings: Matching profile not found.
04-04-2019 11:33:26.088> Detected active app/window change (due to mouse over [1013,293]) from 'notepad++.exe' (0x000C1368) to 'xmousebuttoncontrol.exe' (0x0018109A).
04-04-2019 11:33:26.088> Enabling default button settings...
04-04-2019 11:33:26.088>   Layer 0: Left = ** No Change (Don't intercept) **, Right = ** No Change (Don't intercept) **, Middle = ** No Change (Don't intercept) **, 4th = ** No Change (Don't intercept) **, 5th = ** No Change (Don't intercept) **, Scroll Up = ** No Change (Don't intercept) **, Scroll Down = ** No Change (Don't intercept) **, Tilt Left = ** No Change (Don't intercept) **, Tilt Right = ** No Change (Don't intercept) **
04-04-2019 11:33:26.088>   InvertScrolling=off InvertHorizontalScrolling=off ScrollPages=off SwapButtons=0
04-04-2019 11:33:26.088> Enabling layer 0
04-04-2019 11:33:26.088> SPI is already (3, 0) - no need for further change
04-04-2019 11:33:26.244> ProcessMouseOverTimerProc: Checking MouseOver(972,315)...
04-04-2019 11:33:26.244> FindAppSettings: Matching profile not found.
04-04-2019 11:33:26.400> ProcessMouseOverTimerProc: Checking MouseOver(954,330)...
04-04-2019 11:33:26.650> ProcessMouseOverTimerProc: Checking MouseOver(944,342)...
04-04-2019 11:33:26.838> ProcessMouseOverTimerProc: Checking MouseOver(944,344)...
04-04-2019 11:33:27.057> ProcessMouseOverTimerProc: Checking MouseOver(944,348)...
04-04-2019 11:33:27.057> FindAppSettings: Matching profile not found.
04-04-2019 11:33:27.103> MouseHookLLProc: MouseHookData: Msg=0x0201 (WM_LBUTTONDOWN), X=944, Y=348, Data=0x00000000, Flags=0x00000000, Time=6558921, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:33:27.103> Translating Left Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:33:27.103> MouseHookLLProc: Passing original mouse message 00000201 through....
04-04-2019 11:33:27.197> MouseHookLLProc: MouseHookData: Msg=0x0202 (WM_LBUTTONUP), X=944, Y=348, Data=0x00000000, Flags=0x00000000, Time=6559015, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:33:27.197> Translating Left Button Up Key state 0x1: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:33:27.197> MouseHookLLProc: Passing original mouse message 00000202 through....
04-04-2019 11:33:27.509> ProcessMouseOverTimerProc: Checking MouseOver(903,443)...
04-04-2019 11:33:27.509> FindAppSettings: Matching profile not found.
04-04-2019 11:33:27.665> ProcessMouseOverTimerProc: Checking MouseOver(806,571)...
04-04-2019 11:33:27.665> FindAppSettings: Matching profile not found.
04-04-2019 11:33:27.822> ProcessMouseOverTimerProc: Checking MouseOver(794,587)...
04-04-2019 11:33:27.822> FindAppSettings: Matching profile not found.
04-04-2019 11:33:28.103> ProcessMouseOverTimerProc: Checking MouseOver(799,566)...
04-04-2019 11:33:28.103> FindAppSettings: Matching profile not found.
04-04-2019 11:33:28.369> ProcessMouseOverTimerProc: Checking MouseOver(801,564)...
04-04-2019 11:33:28.369> MouseHookLLProc: MouseHookData: Msg=0x0201 (WM_LBUTTONDOWN), X=801, Y=564, Data=0x00000000, Flags=0x00000000, Time=6560187, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:33:28.369> Translating Left Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:33:28.369> MouseHookLLProc: Passing original mouse message 00000201 through....
04-04-2019 11:33:28.447> MouseHookLLProc: MouseHookData: Msg=0x0202 (WM_LBUTTONUP), X=801, Y=564, Data=0x00000000, Flags=0x00000000, Time=6560265, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:33:28.447> Translating Left Button Up Key state 0x1: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:33:28.447> MouseHookLLProc: Passing original mouse message 00000202 through....
04-04-2019 11:33:28.759> ProcessMouseOverTimerProc: Checking MouseOver(822,577)...
04-04-2019 11:33:28.759> Unable to enter critical section in 'WM_MOUSEMOVE' (TID: 00003DF8) as it is locked by 'ProcessMouseOverTimerProc'
04-04-2019 11:33:28.759> FindAppSettings: Matching profile not found.
04-04-2019 11:33:28.915> ProcessMouseOverTimerProc: Checking MouseOver(1044,745)...
04-04-2019 11:33:28.915> FindAppSettings: Matching profile not found.
04-04-2019 11:33:29.072> ProcessMouseOverTimerProc: Checking MouseOver(1109,814)...
04-04-2019 11:33:29.072> FindAppSettings: Matching profile not found.
04-04-2019 11:33:29.462> ProcessMouseOverTimerProc: Checking MouseOver(1107,824)...
04-04-2019 11:33:29.462> FindAppSettings: Matching profile not found.
04-04-2019 11:33:29.665> ProcessMouseOverTimerProc: Checking MouseOver(1103,826)...
04-04-2019 11:33:29.665> MouseHookLLProc: MouseHookData: Msg=0x0201 (WM_LBUTTONDOWN), X=1103, Y=826, Data=0x00000000, Flags=0x00000000, Time=6561484, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:33:29.665> Translating Left Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:33:29.665> MouseHookLLProc: Passing original mouse message 00000201 through....
04-04-2019 11:33:29.728> MouseHookLLProc: MouseHookData: Msg=0x0202 (WM_LBUTTONUP), X=1103, Y=826, Data=0x00000000, Flags=0x00000000, Time=6561546, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:33:29.728> Translating Left Button Up Key state 0x1: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:33:29.728> MouseHookLLProc: Passing original mouse message 00000202 through....
04-04-2019 11:33:30.040> ProcessMouseOverTimerProc: Checking MouseOver(1273,851)...
04-04-2019 11:33:30.040> FindAppSettings: Matching profile not found.
04-04-2019 11:33:30.353> MouseHookLLProc: MouseHookData: Msg=0x0201 (WM_LBUTTONDOWN), X=1273, Y=851, Data=0x00000000, Flags=0x00000000, Time=6562171, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:33:30.353> Translating Left Button Down Key state 0x0: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:33:30.353> MouseHookLLProc: Passing original mouse message 00000201 through....
04-04-2019 11:33:30.415> MouseHookLLProc: MouseHookData: Msg=0x0202 (WM_LBUTTONUP), X=1273, Y=852, Data=0x00000000, Flags=0x00000000, Time=6562234, Info=0x0, Ptr=0x105E5, Layer=0
04-04-2019 11:33:30.415> Translating Left Button Up Key state 0x1: Action 40 [** No Change (Don't intercept) **]
04-04-2019 11:33:30.415> MouseHookLLProc: Passing original mouse message 00000202 through....
04-04-2019 11:33:30.415> Applying changes to X-Mouse Button Control settings...
04-04-2019 11:33:30.415> GetLayerName: Layer 1 does not exist or has no name!
04-04-2019 11:33:30.415> GetLayerName: Layer 2 does not exist or has no name!
04-04-2019 11:33:30.415> GetLayerName: Layer 3 does not exist or has no name!
04-04-2019 11:33:30.415> GetLayerName: Layer 4 does not exist or has no name!
04-04-2019 11:33:30.415> GetLayerName: Layer 5 does not exist or has no name!
04-04-2019 11:33:30.415> GetLayerName: Layer 6 does not exist or has no name!
04-04-2019 11:33:30.415> GetLayerName: Layer 7 does not exist or has no name!
04-04-2019 11:33:30.415> GetLayerName: Layer 8 does not exist or has no name!
04-04-2019 11:33:30.415> GetLayerName: Layer 9 does not exist or has no name!
04-04-2019 11:33:30.430> Save settings took 16ms
04-04-2019 11:33:30.430> Disabling extra debug logging.
User avatar
phil
Site Admin
Posts: 7664
Joined: Sun Apr 06, 2003 11:12 pm

Re: Problem with simulated button "{ALT}g"

Post by phil »

Hi,

You said
When the mouse-buttons are invoked in the program, I do get an output as if the {ALT} modifier has been consumed, i.e. I get
Then you say you get a "g" output (which is what I would expect if the ALT had not been pressed...
Are you saying you expect to get nothing in notepad++ (because alt+g does nothing) and instead you see a 'g' key typed, suggesting the {alt} was NOT sent by XMBC?

Unfortunately, I can't see anything obviously wrong in the log - it is clearly sending the ALT key (and it must be sending the g key) - I wonder if there is something odd with this being on the TILT buttons. Tilt is a bit of an oddball because TILT does not send proper press/release messages ... Just to rule that out, can you try it on a"normal" button temporarily (e.g. the middle (wheel) button)?

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
bejoscha
New User
Posts: 7
Joined: Thu Apr 04, 2019 9:59 am

Re: Problem with simulated button "{ALT}g"

Post by bejoscha »

Hi, thanks for looking into this so promptly and sorry for not being clear.

Originally, I've set up things for VS2015 where I use {ALT} + [O] and {CTRL} + [-] for some tasks. (i.e. I use the form {ALT}o and {CTRL}- in the setup ).
It did work like this yesterday. I then, however, had to change my system with some system restore and reinstalled XMouseButtonControl, using the same setup.

When using VS2015, I suddenly had the situation, that using my mouse buttons inserted the characters 'O' and '-' into my text at cursor positions, instead of performing the wanted actions. :cry:

I took it from there. In order to rule out VS2015 issues, I repeated the experiment with NotePad++. I also varied the characters (G, g, o, O, -, ...) to make sure it's not specific to that.
You are correct, that I would expect nothing when the {ALT}G command is send - but again, I get a 'G' inserted in my text. That is, why I said it feels like the ALT is just ignored.
bejoscha
New User
Posts: 7
Joined: Thu Apr 04, 2019 9:59 am

Re: Problem with simulated button "{ALT}g"

Post by bejoscha »

Oh :shock: !
My last post made me aware of one thing I hadn't tried: Uninstall and fully reinstall XMouse Button Control (removing all old settings).
I just did this now, and the problem seems to have gone away! :mrgreen:

I have not yet tried rebooting the system, but that hopefully isn't an issue... (If it is, I'll write again.)
User avatar
phil
Site Admin
Posts: 7664
Joined: Sun Apr 06, 2003 11:12 pm

Re: Problem with simulated button "{ALT}g"

Post by phil »

OK my confusion was the word "consumed" which I took to be the opposite of "ignored" :).

OK, I understand. Not really sure why its not working, or why a re-install fixed it (if indeed it has).

XMBC stores its settings in an XML file - maybe that got messed up or there is a particular setting that causes a problem... I don't suppose you have the old setting file (it may have made a backup when you reinstalled... Hold CTRL and left click the XMBC icon in the system try - that will take you to the folder in explorer... See if there are any XMBCSettings.xml backups in there and if there are, can you send them to me, along with XMBCSettings.xml).

If there are backups, I will try to reproduce here with your settings files - it might point me to a bug I don't know about. Alternatively, If the problem re-appears, please send a copy of your profile (xmbcsettings.xml or simply use the "Save profile" button on the GUI to save as... and I will have a look.

Regards,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
bejoscha
New User
Posts: 7
Joined: Thu Apr 04, 2019 9:59 am

Re: Problem with simulated button "{ALT}g"

Post by bejoscha »

Thanks.
I can confirm that a system boot did not cause it to fail again, so I feel happy now.
I will check the settings... ...and yes, I have two files, one being called

Code: Select all

XMBCSettings.xml
(the actual one with file-date form just now) and a

Code: Select all

XMBCSettings.backup-pre-2.18.5.0.xml
with filedate today noon. (When it was not yet working, but I tried the NotePad++ tests.)

Going to send you both by email.
Post Reply