Using G700s win10 x64, G4~G11 works fine, however, long press cannot be catched
Closed this issue · 14 comments
And long press doesn't show up in the key history.
Another problem is, when Logitech Gaming Software 9.02.65 64-bit is not on Automatic Game Detection mode, the key history still gets some records with message of "not found", and single click of left button can not click and select one of preview windows on task bar, and it resolved by removing the winmm.dll from C:\Program Files\Logitech Gaming Software.
I just uploaded DebugTools.zip. Replace winmm.dll, run DebugView.exe and then start Logitech Gaming Software. Click some buttons of your G700s. You should get some outputs like this:
Then you can go to see what happened when you long-press the buttons and when you turn off Automatic Game Detection mode. Upload the outputs here so that I can try to solve the problems.
This is the log content, the first part is long-press of left button.
00000001 0.00000000 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonReleased|17, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000002 0.09355598 [18044] [WSPConnect] Socket ip 127.0.0.1:6471
00000003 0.10644424 [15224] TIMER1
00000004 0.10739603 [15224] usb not exist
00000005 0.10751674 [15224] last status is false
00000006 0.91784513 [15224] TIMER1
00000007 0.91963094 [15224] usb not exist
00000008 0.91985190 [15224] last status is false
00000009 1.10423326 [18044] [WSPConnect] Socket ip 127.0.0.1:6463
00000010 1.72786832 [15224] TIMER1
00000011 1.72859359 [15224] usb not exist
00000012 1.72862458 [15224] last status is false
00000013 2.12006617 [18044] [WSPConnect] Socket ip 127.0.0.1:6464
00000014 2.28746724 [16740] Ib: MOUSE_BUTTON_PRESSED(10), 1
00000015 2.29018378 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonPressed|16, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000016 2.54249430 [15224] TIMER1
00000017 2.54334831 [15224] usb not exist
00000018 2.54343414 [15224] last status is false
00000019 3.12473655 [18044] [WSPConnect] Socket ip 127.0.0.1:6465
00000020 3.35563302 [15224] TIMER1
00000021 3.35610962 [15224] usb not exist
00000022 3.35618758 [15224] last status is false
00000023 4.12567186 [18044] [WSPConnect] Socket ip 127.0.0.1:6466
00000024 4.16711569 [15224] TIMER1
00000025 4.16767836 [15224] usb not exist
00000026 4.16771364 [15224] last status is false
00000027 4.98050451 [15224] TIMER1
00000028 4.98106241 [15224] usb not exist
00000029 4.98119259 [15224] last status is false
00000030 5.13257504 [18044] [WSPConnect] Socket ip 127.0.0.1:6467
00000031 5.79795790 [15224] TIMER1
00000032 5.79861784 [15224] usb not exist
00000033 5.79868269 [15224] last status is false
00000034 6.13806009 [18044] [WSPConnect] Socket ip 127.0.0.1:6468
00000035 6.60315895 [15224] TIMER1
00000036 6.60401773 [15224] usb not exist
00000037 6.60408640 [15224] last status is false
00000038 7.14431810 [18044] [WSPConnect] Socket ip 127.0.0.1:6469
00000039 7.41784477 [15224] TIMER1
00000040 7.41855764 [15224] usb not exist
00000041 7.41866112 [15224] last status is false
00000042 7.64058638 [16740] Ib: MOUSE_BUTTON_RELEASED(11), 1
00000043 7.64187574 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonReleased|17, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000044 8.14652348 [13748] [0127/185829.582:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
00000045 8.17684460 [18044] [WSPConnect] Socket ip 127.0.0.1:6470
00000046 8.22694016 [15224] TIMER1
00000047 8.22753334 [15224] usb not exist
00000048 8.22756863 [15224] last status is false
00000049 8.95078564 [18468] [ProxyIE] WSPSocket===> 0 6764
00000050 8.95094967 [18468] [ProxyIE] WSPSocket===> 0 11812
00000051 8.95106602 [18468] [ProxyIE] WSPSocket===> 0 8240
00000052 8.95117474 [18468] [ProxyIE] WSPSocket===> 0 6340
00000053 8.95128345 [18468] [ProxyIE] WSPSocket===> 0 10580
00000054 8.95139694 [18468] [ProxyIE] WSPSocket===> 0 8896
00000055 8.95148087 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000056 8.95179272 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000057 8.95196247 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000058 8.95223427 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000059 8.95258522 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000060 8.95296383 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000061 9.04323578 [15224] TIMER1
00000062 9.04378986 [15224] usb not exist
00000063 9.04383087 [15224] last status is false
00000064 9.20245075 [18044] [WSPConnect] Socket ip 127.0.0.1:6471
00000065 9.85523701 [15224] TIMER1
00000066 9.85600853 [15224] usb not exist
00000067 9.85609055 [15224] last status is false
00000068 9.95479488 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000069 9.95497894 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000070 9.95506001 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000071 9.95513535 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000072 9.95520401 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000073 9.95527267 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000074 10.21938324 [18044] [WSPConnect] Socket ip 127.0.0.1:6463
00000075 10.66703796 [15224] TIMER1
00000076 10.66766071 [15224] usb not exist
00000077 10.66774178 [15224] last status is false
00000078 10.95639038 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000079 10.95687199 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000080 10.95741463 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000081 10.95778656 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000082 10.95796299 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000083 10.95825005 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000084 11.23036194 [18044] [WSPConnect] Socket ip 127.0.0.1:6464
00000085 11.48218250 [15224] TIMER1
00000086 11.48269939 [15224] usb not exist
00000087 11.48273659 [15224] last status is false
00000088 11.96205139 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000089 11.96253204 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000090 11.96290398 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000091 11.96315193 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000092 11.96316814 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000093 11.96331978 [18468] [ProxyIE] [WSPSendTo]没有登录安全桌面
00000094 12.24488449 [18044] [WSPConnect] Socket ip 127.0.0.1:6465
00000095 12.29637051 [15224] TIMER1
00000096 12.29692364 [15224] usb not exist
00000097 12.29694366 [15224] last status is false
00000098 13.10665703 [15224] TIMER1
00000099 13.10841274 [15224] usb not exist
00000100 13.10843086 [15224] last status is false
00000101 13.26698399 [18044] [WSPConnect] Socket ip 127.0.0.1:6466
00000102 13.92317200 [15224] TIMER1
00000103 13.92370796 [15224] usb not exist
00000104 13.92377377 [15224] last status is false
00000105 13.95212650 [18468] [ProxyIE] WSPCloseSocket fd=8896 C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
00000106 13.95246220 [18468] [ProxyIE] WSPCloseSocket fd=10580 C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
00000107 13.95285130 [18468] [ProxyIE] WSPCloseSocket fd=6340 C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
00000108 13.95313931 [18468] [ProxyIE] WSPCloseSocket fd=8240 C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
00000109 13.95325279 [18468] [ProxyIE] WSPCloseSocket fd=11812 C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
00000110 13.95330048 [18468] [ProxyIE] WSPCloseSocket fd=6764 C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
00000111 14.29116535 [18044] [WSPConnect] Socket ip 127.0.0.1:6467
00000112 14.73049355 [15224] TIMER1
00000113 14.73142147 [15224] usb not exist
00000114 14.73144436 [15224] last status is false
00000115 15.31065083 [18044] [WSPConnect] Socket ip 127.0.0.1:6468
00000116 15.54299831 [15224] TIMER1
00000117 15.54481888 [15224] usb not exist
00000118 15.54494286 [15224] last status is false
00000119 16.32363892 [18044] [WSPConnect] Socket ip 127.0.0.1:6469
00000120 16.35443497 [15224] TIMER1
00000121 16.35502815 [15224] usb not exist
00000122 16.35506439 [15224] last status is false
00000123 17.17048645 [15224] TIMER1
00000124 17.17109680 [15224] usb not exist
00000125 17.17113495 [15224] last status is false
00000126 17.34981537 [18044] [WSPConnect] Socket ip 127.0.0.1:6470
00000127 17.97772598 [15224] TIMER1
00000128 17.97829247 [15224] usb not exist
00000129 17.97836685 [15224] last status is false
00000130 18.38015556 [18044] [WSPConnect] Socket ip 127.0.0.1:6471
00000131 18.79904556 [15224] TIMER1
00000132 18.79958153 [15224] usb not exist
00000133 18.79961967 [15224] last status is false
00000134 19.40108299 [18044] [WSPConnect] Socket ip 127.0.0.1:6463
00000135 19.61117744 [15224] TIMER1
00000136 19.61188889 [15224] usb not exist
00000137 19.61192513 [15224] last status is false
00000138 19.66607857 [16740] Ib: MOUSE_BUTTON_PRESSED(10), 1
00000139 19.66887665 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonPressed|16, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000140 19.76444435 [16740] Ib: MOUSE_BUTTON_RELEASED(11), 1
00000141 19.76654434 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonReleased|17, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000142 19.84858322 [16740] Ib: MOUSE_BUTTON_PRESSED(10), 1
00000143 19.85264969 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonPressed|16, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000144 19.92182350 [16740] Ib: MOUSE_BUTTON_RELEASED(11), 1
00000145 19.92389488 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonReleased|17, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000146 20.01440430 [16740] Ib: MOUSE_BUTTON_PRESSED(10), 1
00000147 20.01667976 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonPressed|16, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000148 20.10779381 [16740] Ib: MOUSE_BUTTON_RELEASED(11), 1
00000149 20.10991287 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonReleased|17, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000150 20.41919136 [15224] TIMER1
00000151 20.41978836 [15224] usb not exist
00000152 20.41982460 [15224] last status is false
00000153 20.42787552 [18044] [WSPConnect] Socket ip 127.0.0.1:6464
00000154 21.22918129 [15224] TIMER1
00000155 21.22947311 [15224] usb not exist
00000156 21.22950935 [15224] last status is false
00000157 21.44038391 [18044] [WSPConnect] Socket ip 127.0.0.1:6465
00000158 22.04393578 [15224] TIMER1
00000159 22.04550362 [15224] usb not exist
00000160 22.04556465 [15224] last status is false
00000161 22.21116447 [16740] Ib: MOUSE_BUTTON_PRESSED(10), 1
00000162 22.22748947 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonPressed|16, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000163 22.70543861 [16740] Ib: MOUSE_BUTTON_RELEASED(11), 1
00000164 22.70765114 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonReleased|17, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000165 22.70977402 [18044] [WSPConnect] Socket ip 127.0.0.1:6466
00000166 23.19679260 [15224] TIMER1
00000167 23.19898605 [15224] usb not exist
00000168 23.20094681 [15224] last status is false
00000169 23.69911385 [15224] TIMER1
00000170 23.70142555 [15224] usb not exist
00000171 23.70421791 [15224] last status is false
00000172 24.75180626 [18044] [WSPConnect] Socket ip 127.0.0.1:6467
00000173 24.75562477 [16740] Ib: MOUSE_BUTTON_PRESSED(10), 1
00000174 24.75906372 [15224] TIMER1
00000175 24.76271057 [19304] [ProxyIE] WSPSocket===> 0 2224
00000176 24.77314949 [18044] [WSPConnect] Socket ip 127.0.0.1:6468
00000177 24.77622223 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonPressed|16, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000178 24.77934074 [15224] usb not exist
00000179 24.78956223 [19304] [ProxyIE] [WSPConnect]没有登录安全桌面
00000180 24.79251480 [16740] Ib: MOUSE_BUTTON_RELEASED(11), 1
00000181 24.79655266 [15224] last status is false
00000182 24.80440331 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonReleased|17, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000183 25.70028305 [15224] TIMER1
00000184 25.70254517 [15224] usb not exist
00000185 25.70962143 [19304] [ProxyIE] WSPCloseSocket fd=2252 C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
00000186 25.71346664 [15224] last status is false
00000187 26.20433044 [18044] [WSPConnect] Socket ip 127.0.0.1:6469
00000188 26.20668030 [15224] TIMER1
00000189 26.20946503 [15224] usb not exist
00000190 26.21702194 [15224] last status is false
00000191 26.70232773 [16740] Ib: MOUSE_BUTTON_PRESSED(10), 1
00000192 26.70478630 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonPressed|16, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000193 26.70758820 [19304] [ProxyIE] WSPCloseSocket fd=2240 C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
00000194 26.71175003 [16740] Ib: MOUSE_BUTTON_RELEASED(11), 1
00000195 26.71954918 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonReleased|17, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000196 27.19984245 [18044] [WSPConnect] Socket ip 127.0.0.1:6470
00000197 27.20227623 [15224] TIMER1
00000198 27.20593071 [16740] Ib: MOUSE_BUTTON_PRESSED(10), 1
00000199 27.20828819 [15224] usb not exist
00000200 27.21758270 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonPressed|16, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000201 27.22322273 [15224] last status is false
00000202 27.70494652 [16740] Ib: MOUSE_BUTTON_RELEASED(11), 1
00000203 27.70725632 [16740] Ib: 13: 219d33e63d0, 0, @MouseButtonReleased|17, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000204 27.70975685 [19304] [ProxyIE] WSPCloseSocket fd=2792 C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
Is your problem that the left, right, and middle buttons can't be long-pressed? Not G6~G11?
These are new logs, each branch contains log from DebugView and Key history, both of which are pressed individually.
A. When Automatic Game Detection mode
is off
:
A1. single-click of G1
:
00000096 13.64095783 [19316] Ib: MOUSE_BUTTON_PRESSED(10), 1
00000097 13.64336872 [19316] Ib: 13: 21c96ef8460, 0, @MouseButtonPressed|16, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000098 13.71876431 [19316] Ib: MOUSE_BUTTON_RELEASED(11), 1
00000099 13.71996117 [19316] Ib: 13: 21c96ef8460, 0, @MouseButtonReleased|17, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
Key History:
C1 073 a d 1.00 not found
C1 073 a u 0.13 not found
A2. Long-press of G1
:
00000497 71.42543030 [18320] Ib: MOUSE_BUTTON_PRESSED(10), 1
00000498 71.42839813 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonPressed|16, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000499 71.43606567 [14824] TIMER1
00000500 71.43909454 [14824] usb not exist
00000501 71.44623566 [14824] last status is false
00000502 71.93150330 [10748] [WSPConnect] Socket ip 127.0.0.1:6470
00000503 72.42563629 [14824] TIMER1
00000504 72.42801666 [14824] usb not exist
00000505 72.43529510 [14824] last status is false
00000506 72.92579651 [10748] [WSPConnect] Socket ip 127.0.0.1:6471
00000507 72.93624878 [14824] TIMER1
00000508 72.94483948 [14824] usb not exist
00000509 72.95005798 [14824] last status is false
00000510 73.18863678 [18320] Ib: MOUSE_BUTTON_RELEASED(11), 1
00000511 73.18964386 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonReleased|17, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
Key History:
C1 073 a d 0.38 not found
C1 073 a u 1.52 not found
A3. single-click of G6
:
00000042 5.84980631 [18320] Ib: MOUSE_BUTTON_PRESSED(10), 4
00000043 5.84982777 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonPressed|16, 4, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000044 5.92072105 [14824] TIMER1
00000045 5.92281961 [14824] usb not exist
00000046 5.92296648 [14824] last status is false
00000047 5.99550247 [18320] Ib: MOUSE_BUTTON_RELEASED(11), 4
00000048 5.99554682 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonReleased|17, 4, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
Key History:
C4 000 a d 2.16 not found
C4 000 a u 0.17 not found
A4. Long-press of G6
:
00000096 10.63433361 [18320] Ib: MOUSE_BUTTON_PRESSED(10), 4
00000097 10.63435459 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonPressed|16, 4, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000098 10.81230164 [10748] [WSPConnect] Socket ip 127.0.0.1:6469
00000099 11.36968994 [14824] TIMER1
00000100 11.37030792 [14824] usb not exist
00000101 11.37038898 [14824] last status is false
00000102 11.82557583 [10748] [WSPConnect] Socket ip 127.0.0.1:6470
00000103 12.18269920 [14824] TIMER1
00000104 12.18467236 [14824] usb not exist
00000105 12.18483353 [14824] last status is false
00000106 12.84306240 [10748] [WSPConnect] Socket ip 127.0.0.1:6471
00000107 12.99490547 [14824] TIMER1
00000108 12.99557781 [14824] usb not exist
00000109 12.99564171 [14824] last status is false
00000110 13.80847931 [14824] TIMER1
00000111 13.81027508 [14824] usb not exist
00000112 13.81044006 [14824] last status is false
00000113 13.84776211 [10748] [WSPConnect] Socket ip 127.0.0.1:6463
00000114 13.87527847 [18320] Ib: MOUSE_BUTTON_RELEASED(11), 4
00000115 13.87530136 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonReleased|17, 4, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
Key History:
C4 000 a d 0.48 not found
C4 000 a u 3.06 not found
B. When Automatic Game Detection mode
is on
:
B1. single-click of G1
:
00000024 4.64181042 [18320] Ib: MOUSE_BUTTON_PRESSED(10), 1
00000025 4.64183569 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonPressed|16, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000026 4.74915552 [18320] Ib: MOUSE_BUTTON_RELEASED(11), 1
00000027 4.75186777 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonReleased|17, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
Key History:
C1 073 a d 0.20 not found
C1 073 a u 0.13 not found
B2. Long-press of G1
:
00000012 2.06893444 [18320] Ib: MOUSE_BUTTON_PRESSED(10), 1
00000013 2.07305050 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonPressed|16, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000014 2.40682483 [10748] [WSPConnect] Socket ip 127.0.0.1:6471
00000015 2.43816853 [14824] TIMER1
00000016 2.43894196 [14824] usb not exist
00000017 2.43905878 [14824] last status is false
00000018 3.24894691 [14824] TIMER1
00000019 3.24950123 [14824] usb not exist
00000020 3.24956727 [14824] last status is false
00000021 3.40951300 [10748] [WSPConnect] Socket ip 127.0.0.1:6463
00000022 4.06639719 [14824] TIMER1
00000023 4.06699896 [14824] usb not exist
00000024 4.06703663 [14824] last status is false
00000025 4.41549301 [10748] [WSPConnect] Socket ip 127.0.0.1:6464
00000026 4.46100187 [18320] Ib: MOUSE_BUTTON_RELEASED(11), 1
00000027 4.46210957 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonReleased|17, 1, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
Key History:
C1 073 a d 0.45 not found
C1 073 a u 2.80 not found
B3. single-click of G6
:
00000019 3.51170182 [18320] Ib: MOUSE_BUTTON_PRESSED(10), 6
00000020 3.51311374 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonPressed|16, 6, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000021 3.67137694 [10748] [WSPConnect] Socket ip 127.0.0.1:6469
00000022 3.77401829 [18320] Ib: MOUSE_BUTTON_RELEASED(11), 6
00000023 3.77403951 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonReleased|17, 6, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
Key History:
C6 000 a d 0.61 not found
C6 000 a u 0.19 not found
B4. Long-press of G6
:
00000016 2.62440133 [18320] Ib: MOUSE_BUTTON_PRESSED(10), 6
00000017 2.62441945 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonPressed|16, 6, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
00000018 2.66869545 [10748] [WSPConnect] Socket ip 127.0.0.1:6469
00000019 3.25399113 [14824] TIMER1
00000020 3.25473285 [14824] usb not exist
00000021 3.25476861 [14824] last status is false
00000022 3.68994093 [10748] [WSPConnect] Socket ip 127.0.0.1:6470
00000023 4.06994581 [14824] TIMER1
00000024 4.07203007 [14824] usb not exist
00000025 4.07220936 [14824] last status is false
00000026 4.69910574 [10748] [WSPConnect] Socket ip 127.0.0.1:6471
00000027 4.87949562 [14824] TIMER1
00000028 4.88033819 [14824] usb not exist
00000029 4.88040495 [14824] last status is false
00000030 5.68990898 [14824] TIMER1
00000031 5.69080067 [14824] usb not exist
00000032 5.69088745 [14824] last status is false
00000033 5.69925594 [10748] [WSPConnect] Socket ip 127.0.0.1:6463
00000034 6.28276348 [18320] Ib: MOUSE_BUTTON_RELEASED(11), 6
00000035 6.28278446 [18320] Ib: 13: 18d92359a00, 0, @MouseButtonReleased|17, 6, Logitech.Gaming.Mouse.G700s, Logitech.Gaming.Mouse.G700
Key History:
C6 000 a d 0.42 not found
C6 000 a u 2.55 not found
Finally, I close this issue, because I just found the cause is due to other *.ahk script, not this repo.
Thank again, it can long-press, double-click, and more, after turning off other *.ahk script!
Emm, I reopen it, because another problem is still here, namely, single click of left button can not click and select one of preview windows on task bar, and it resolved by removing the winmm.dll from C:\Program Files\Logitech Gaming Software.
Is G1 your left button? I can add an option to decide whether or not to remap G1~G3, and then you can get them by LButton, RButton and MButton if needed.
Is G1 your left button? I can add an option to decide whether or not to remap G1~G3, and then you can get them by LButton, RButton and MButton if needed.
Yes, G1 is left button, G2 is right button, G3 is middle button.
Is G1 your left button? I can add an option to decide whether or not to remap G1~G3, and then you can get them by LButton, RButton and MButton if needed.
Yes, G1 is left button, G2 is right button, G3 is middle button.
By the way, do G4 and G5 work on your computer? Or can you get them by XButton1 and XButton2?
Try it: IbLogitechGamingSoftwareExt v0.3
Try it: IbLogitechGamingSoftwareExt v0.3
Thank you! I can click and select window on task bar with v0.3!
Glad to hear that.
I find a strange bug, the first code works and can catch long-press or double-click, etc., however, the second code only catch single-click, (I turn off all ahk scripts to test this one, and vkC5 can be any other key):
A. OK:
Morse(timeout = 400) {
tout := timeout/1000
key := RegExReplace(A_ThisHotKey,"[\*\~\$\#\+\!\^]")
Loop {
t := A_TickCount
KeyWait %key%
Pattern .= A_TickCount-t > timeout
KeyWait %key%,DT%tout%
If (ErrorLevel)
Return Pattern
}
}
vkC5::
p := Morse(300)
If (p = "0")
{
ToolTip, Short press
}
Else If (p = "00")
{
ToolTip, Double short presses
}
Else If (p = "000")
{
ToolTip, Triple short presses
}
Else If (p = "0000")
{
ToolTip, Quadruple short presses
}
Else If (p = "01")
{
ToolTip, Short+Long press
}
Else If (p = "1")
{
ToolTip, Long press
}
Else
{
ToolTip, Press pattern %p%
}
Sleep 500
ToolTip ; Turn off the tip.
Return
^#r::
Reload ; Assign Ctrl-Alt-R as a hotkey to restart the script.
Sleep 1000 ; If successful, the reload will close this instance during the Sleep, so the line below will never be reached.
MsgBox, 4,, The script could not be reloaded. Would you like to open it for editing?
IfMsgBox, Yes, Edit
Return
Tab::
tooltip, OK
return
B. Only add #IfWinActive ahk_exe notepad.exe
and #IfWinActive
, then failed:
Morse(timeout = 400) {
tout := timeout/1000
key := RegExReplace(A_ThisHotKey,"[\*\~\$\#\+\!\^]")
Loop {
t := A_TickCount
KeyWait %key%
Pattern .= A_TickCount-t > timeout
KeyWait %key%,DT%tout%
If (ErrorLevel)
Return Pattern
}
}
vkC5::
p := Morse(300)
If (p = "0")
{
ToolTip, Short press
}
Else If (p = "00")
{
ToolTip, Double short presses
}
Else If (p = "000")
{
ToolTip, Triple short presses
}
Else If (p = "0000")
{
ToolTip, Quadruple short presses
}
Else If (p = "01")
{
ToolTip, Short+Long press
}
Else If (p = "1")
{
ToolTip, Long press
}
Else
{
ToolTip, Press pattern %p%
}
Sleep 500
ToolTip ; Turn off the tip.
Return
^#r::
Reload ; Assign Ctrl-Alt-R as a hotkey to restart the script.
Sleep 1000 ; If successful, the reload will close this instance during the Sleep, so the line below will never be reached.
MsgBox, 4,, The script could not be reloaded. Would you like to open it for editing?
IfMsgBox, Yes, Edit
Return
#IfWinActive ahk_exe notepad.exe
Tab::
tooltip, OK
return
#IfWinActive