- -Introduction
- -Reason for creating XLAT
- -Required hardware
- -Setup Procedure
- -Accuracy of XLAT
- -How XLAT Measures Click Latency
- User Interface
- Measurement Procedure
- Troubleshooting
- -Support
- License
- Conclusion
The XLAT Mouse Latency Measurement Tool by Finalmouse is engineered to accurately measure the latency of wired and wireless mice. This manual provides a step-by-step guide on how to set up and use this tool.
The inception of the XLAT Mouse Latency Measurement Tool stemmed from a need to address the shortcomings of existing latency measurement methodologies, particularly concerning mouse latency. Here are the key motivators behind the creation of XLAT:
- Specific Focus on Mouse Latency:
- Previous methods were either rudimentary or did not focus specifically on mouse latency, making it difficult to obtain precise measurements for this critical aspect of system performance.
- System-wide Latency Measurement:
- Other techniques measured complete system latency, encompassing OS, GPU, and screen delay, which could obfuscate the true latency of the mouse itself.
- Limitations of Audio-Based Methods:
- Some methods relied on audio, which is too slow to measure the minuscule latency numbers associated with mouse clicks accurately.
- Lack of Accessible, High-Quality Alternatives:
- While accurate measurements could be obtained using high-end equipment like expensive logic analyzers, USB analyzers, or oscilloscopes, these tools are not only costly but also complex to use. There was a distinct lack of easy-to-use, high-quality, and affordable alternatives in the market.
- Single Source of Truth:
- XLAT is intended as a "single source of truth" for mouse latency measurement. It's repeatable, affordable, easy to use, and can be independently verified for accuracy since it's open source. This level of reliability and transparency positions XLAT as an invaluable tool for those seeking precise and trustworthy mouse latency measurements. Additionally, check out our latency database
XLAT was developed to fill these gaps, providing a specialized, accessible, and cost-effective solution for accurately measuring mouse latency, making it an invaluable tool for both enthusiasts and professionals alike.
Ensure you have at least the following hardware available:
- Finalmouse XLAT or STM32F746G-DISCO devkit
- Micro-USB to USB-A Adapter
- Mini-USB Cable
- The USB mouse you want to test
- Connect the mini-USB cable to the XLAT device and a power source to supply power to the XLAT device.
- For wired mice: Connect the USB plug of the mouse directly to the USB OTG port of the XLAT tool using the supplied Micro-USB to USB-A adapter.
- For wireless mice: Connect the USB plug of the wireless receiver dongle to the USB OTG port of the XLAT tool using the supplied Micro-USB to USB-A adapter.
- Create a custom cable with two connectors: one for GROUND (black cable) and one for the left button click (red cable).
- Modify the mouse to have connectors for the GROUND and left button click.
- Connect the GROUND (black cable) and left button click (red cable) of the mouse to the respective ports on the XLAT tool.
- Upon successful connection of the mouse via USB, the XLAT tool should display the device name along with the VID:PID (Vendor ID: Product ID) in the top right corner of the screen.
XLAT boasts a high degree of accuracy in its measurements, due to the firmware running on an onboard microcontroller. This low-level, lightweight design ensures highly accurate and reliable measurements. The firmware is open source, and it's contained in the git repository you're looking at right now.
XLAT measures click latency by accurately measuring the time between the mouse button click (measured electrically) and the corresponding USB packet coming in, sent by the mouse, which contains the button click data. This measurement is reported in microseconds (Β΅s).
- CLEAR Button: Clears the measurement results and allows you to start over.
- REBOOT Button: Reboots the device and re-initializes the connected USB device.
- SETTINGS Button: Takes you to the settings page where you can configure the tool.
- TRIGGER Button: Activates the "auto-trigger" functionality where XLAT will attempt to automatically click the mouse for you, eliminating the need for manual clicks.
- Press the "TRIGGER" button if your mouse supports the auto-trigger functionality, or manually click the mouse to begin measuring click latency.
- (Provide any additional steps on how to initiate the measurement, e.g., software to launch, etc.)
- For every click registered, results will be displayed on screen immediately. You'll find the latest latency measurements, as well as both the average and standard deviation, along with the number of registered clicks. In addition, the data may be exported over a virtual COM port.
- Use the "CLEAR" button to clear previous measurements and start over, or the "REBOOT" button if a re-initialization of the connected USB device is needed.
- LCD Issues:
- If the LCD doesn't properly initialize or contains artifacts, reboot the device by pressing the "REBOOT" button or power cycling the XLAT device.
For further assistance or inquiries, contact Finalmouse support via email at support@finalmouse.com or on Discord.
The software is licensed under the GPLv3 license. See COPYING
for more information.
The libraries used are licensed under their respective licenses. See LICENSES
/ LICENSE.txt
or similar for more information.
The XLAT Mouse Latency Measurement Tool provides an accurate method for measuring mouse latency, aiding in achieving optimal performance for a competitive edge.