Search found 68 matches

by ad8e
04 Dec 2018, 01:26
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: How to remove one frame of delay on my system?
Replies: 4
Views: 7635

How to remove one frame of delay on my system?

I'm writing vsync code and I'm trying to get my screen to tear, but I'm not able to. Instead, I always see one frame of delay and perfect frames, which means something is queueing up frames and swapping them. This seems to be caused by my OS or driver. My test system is Intel HD 4000, Windows 8.1, T...
by ad8e
01 Dec 2018, 02:52
Forum: Input Lag / Display Lag / Network Lag
Topic: Measuring keyboard input lag
Replies: 56
Views: 119033

Re: Measuring keyboard input lag

Debounce algorithm is decided by the person designing the mouse, not the people making the switches. Delay based debouncing is responsible for those phantom clicks, spurious double clicks, and releasing during a drag, with a tradeoff between the length of the delay, and the reliability of the debou...
by ad8e
01 Dec 2018, 00:59
Forum: Input Lag / Display Lag / Network Lag
Topic: Measuring keyboard input lag
Replies: 56
Views: 119033

Re: Measuring keyboard input lag

The gamersnexus link is a good test method. The high speed video method works a lot better if you use a full screen program running at several thousand fps with vsync off. as is, the error from the refresh rate of the monitor, and graphics pipeline, is bigger than the signal you're trying to measur...
by ad8e
30 Nov 2018, 21:46
Forum: Input Lag / Display Lag / Network Lag
Topic: Measuring keyboard input lag
Replies: 56
Views: 119033

Re: Measuring keyboard input lag

The three approaches I think are best all have in common a test platform capable of both GPIO and USBHost. The easy way I can think of is to slam the mouse button into a keyboard button at high speed. This causes some delay from physical key pressing speed, which is acceptable because humans have d...
by ad8e
30 Nov 2018, 03:06
Forum: Input Lag / Display Lag / Network Lag
Topic: Measuring keyboard input lag
Replies: 56
Views: 119033

Re: Measuring keyboard input lag

The three approaches I think are best all have in common a test platform capable of both GPIO and USBHost. The easy way I can think of is to slam the mouse button into a keyboard button at high speed. This causes some delay from physical key pressing speed, which is acceptable because humans have d...
by ad8e
26 Sep 2018, 17:24
Forum: Input Lag / Display Lag / Network Lag
Topic: Measuring keyboard input lag
Replies: 56
Views: 119033

Re: Measuring keyboard input lag

Thanks. So he's being screwed by his keyboard hardware, since the internal scan rate is much longer than 1ms, not just the debounce time. The USB 1000Hz on that keyboard must then be mainly for marketing purposes, like a gold-plated Reliant Robin. It seems to me that the /r/MechanicalKeyboards commu...
by ad8e
26 Sep 2018, 12:06
Forum: Input Lag / Display Lag / Network Lag
Topic: Measuring keyboard input lag
Replies: 56
Views: 119033

Re: Measuring keyboard input lag

Someone at https://www.reddit.com/r/thinkpad/comments/9ivh0u/thinkpad_keyboards_measurement_of_polling_lag_and/e6n9dc3/ reported that pressing two keys simultaneously on the MasterKeys Pro S, a 1000Hz keyboard, makes one of the two keys appear first every time. That sounds like either the firmware i...