Repository navigation
Add input API comparison probe and results - #2
Closed
NotBadSlime wants to merge 18 commits into
Closed
NotBadSlime wants to merge 18 commits into
NotBadSlime wants to merge 18 commits into
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…s per hook Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
… downs Co-authored-by: Cursor <cursoragent@cursor.com>
…put finding Co-authored-by: Cursor <cursoragent@cursor.com>
5 of 6 tasks
Owner
Author
|
Closing without merging. The input API comparison probe, the ETW work and all of their reports now live in https://github.com/NotBadSlime/MacroLab, which also holds the earlier precision and latency measurements. Every file this branch adds is in MacroLab (26 byte-identical apart from line endings; 4 adapted so they build and link there). The product-side cleanup is in #3. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/tools/InputApiProbe锛氬姣斾綆灞傞挬瀛愩€丷aw Input銆丷egisterHotKey銆佷袱绉嶈疆璇㈢殑瑙﹀彂鎹曡幏寤惰繜锛屼互鍙?SendInput鍥涚鍐欐硶锛堣櫄鎷熼敭鐮併€佹壂鎻忕爜銆侀敭鐮佸姞鎵弿鐮併€乣keybd_event`銆佸悎骞舵寜涓嬫姮璧凤級鍒板彟涓€杩涚▼ Win32 绐楀彛鐨勬敞鍏ュ欢杩熴€?scripts/summarize_input_api.py鍜?tests/test_input_api_summary.py锛氱粺涓€缁熻涓庡垽瀹氶棬妲涳紙P50 鏀瑰杽涓嶅皯浜?100碌s锛孭99 涓庢渶澶у€间笉鍙樺樊锛岃嚦灏戝洓杞柟鍚戜竴鑷达級銆?docs/input-api-comparison-2026-10-15.md鍜屽悗缁伐浣滄竻鍗?docs/next-steps-latency-2026-10-15.md锛屽苟鍦ㄨ璁℃枃妗d笌docs/current-precision-status.md閲岃ˉ浜嗛摼鎺ャ€?*缁撹锛? 鍦ㄨ繖鍙版満鍣ㄤ笂娌℃湁浠讳綍鍊欓€夋瘮鐜扮敤浣庡眰閽╁瓙鎴?
SendInput鏇村ソ锛屼骇鍝侀粯璁よ矾寰勪笉鍙橈紱鏈垎鏀笉淇敼浜у搧浠g爜銆?宸茬煡灞€闄?
Test Plan
python -m unittest discover -s tests -p "test_input_api_summary.py"锛?7 涓祴璇曢€氳繃dotnet build src/tools/InputApiProbe/InputApiProbe.csproj -c Release锛? 涓敊璇?