News for hackers. Stuff that matters.
Re:Just How Much Faster Are the Gnome 46 Terminals? by emn13 on Monday April 08, 2024 @11:04AM (#39970504)
My initial gut reaction to this was - yeah, of course. But after reading https://danluu.com/keyboard-latency/ - I'm not so sure. Why exactly should physical travel time not matter? If a keyboard has a particularly late switch, that _does_ affect the effective latency, does it not?

I can sort of see the argument for post actuation latency in some specific cases, but as a general rule, I'm struggling to come up with a reason to exclude delays due to physical design.

Re:Just How Much Faster Are the Gnome 46 Terminals? by jagged-chisel on Monday April 08, 2024 @11:13AM (#39970588)
We don’t all press keys in exactly the same way. How would you control for the human element?
Re:Just How Much Faster Are the Gnome 46 Terminals? by wtallis on Monday April 08, 2024 @12:38PM (#39971419)
Variance isn't a reason to simply ignore part of the problem.
Re:Just How Much Faster Are the Gnome 46 Terminals? by nomel on Monday April 08, 2024 @12:44PM (#39971475)
It's a personal choice of input mechanism that you can add to the measured number. Also, the activation point is extremely repeatable. You become fully aware of that activation point, so it shouldn't contribute to the percieved latency, since that activation point is where you see yourself as hitting the button. This is the reason I don't use mechanical keyboards; I can't activate the key in a reasonable time.
Re:Just How Much Faster Are the Gnome 46 Terminals? by opan on Monday April 08, 2024 @12:54PM (#39971580)
>This is the reason I don't use mechanical keyboards; I can't activate the key in a reasonable time.

From what I understand, non-mechanical keyboards need the key to bottom out to actuate, whereas mechanical switches have a separate actuation point and do not need to be fully pressed down. In other words mechanical switches activate earlier and more easily. What you said seems to imply something else entirely.

Re:Just How Much Faster Are the Gnome 46 Terminals? by wtallis on Monday April 08, 2024 @01:36PM (#39971966)
If you're comparing a mechanical key switch with 4mm travel to a low-profile rubber dome with 2mm or less of travel, the rubber dome will probably feel like it actuates sooner—especially if the mechanical switch is one of the varieties that doesn't provide a distinct bump at the actuation point.
Re:Just How Much Faster Are the Gnome 46 Terminals? by nomel on Wednesday April 10, 2024 @03:32PM (#39994845)
No, I’m speaking only of travel required to activate the key. There’s still travel to the activation point for mechanical keyboards. I’ve yet to find a mechanical switch with an activation distance as small as, say, a MacBook (1 mm). Low travel mechanical switches, like from Choco (as others have mentioned) are 1.3mm. Something like a Cherry Red is 2mm.
Re:Just How Much Faster Are the Gnome 46 Terminals? by nine_k on Monday April 08, 2024 @01:30PM (#39971903)
There are mechanical switches with near 1 mm travel, comparable to laptop keyboards. E.g. Cailh choc switches have 1.3 mm travel.

(I would love to see scissors-action keys available to build custom keyboards, but I haven't seen any.)

Re:Just How Much Faster Are the Gnome 46 Terminals? by crote on Monday April 08, 2024 @12:51PM (#39971551)
A lot of modern keyboards allow you to swap out switches, which means switch latency is not inherently linked to a keyboard.

It also completely ignores ergonomics. A capacitive-touch keyboard would have near-zero switch latency, but be slower to use in practice due to the lack of tactile feedback. And if we're going down this rabbit hole, shouldn't we also include finger travel time? Maybe a smartphone touch screen is actually the "best" keyboard!

Re:Just How Much Faster Are the Gnome 46 Terminals? by emn13 on Monday April 08, 2024 @01:04PM (#39971674)
Latency isn't everything; but that doesn't mean it's irrelevant either. I'm OK with a metric that accurately represents latency with the caveat that feel or other factors may be more important. If key and/or switch design impacts latency in practice; shouldn't we measure that?

I guess that is an open question - perhaps virtually all the variance in latency due to physical design is tied up with fundamental tradeoffs between feel, feedback, sound, and preference. If so - then sure: measuring the pre-activation latency is pointless. On the other hand, if there are design choices that meaningfully affect latency without meaningfully impacting other priorities, or even where gains in latency are perhaps more important than (hypothetically) small losses elsewhere - then measuring that would helpful.

I get the impression that we're still in the phase that this isn't actually a trivially solved problem; i.e. where at least having the data and only _then_ perhaps choosing how much we care (and how to interpret whatever patterns arise) is worth it.

Ideally of course we'd have both post-activation-only and physical-activation-included metrics, and we could compare.

Re:Just How Much Faster Are the Gnome 46 Terminals? by zamadatix on Monday April 08, 2024 @02:24PM (#39972418)
I'm fine with wanting to measure travel time of keyboards but that really shouldn't be hidden in the latency measurement. Each measure (travel time and latency) is part of the overall experience (as well as many other things) but they are two separate things and wanting to optimize one for delay isn't necessarily the same thing as wanting to optimize both for delay.

I.e. I can want a particular feel to a keyboard which prioritizes comfort over optimizing travel distance independent of wanting the keyboard to have a low latency when it comes to sending the triggered signal. I can also type differently than the tester and that should change the travel times in comparisons, not the latentcies.

Re:Just How Much Faster Are the Gnome 46 Terminals? by thfuran on Monday April 08, 2024 @01:34PM (#39971947)
Because starting measuring input latency from before the input is flat out wrong. It would be just as sensible to start the measurement from when your finger starts moving or from when the nerve impulse that will start your finger moving leaves your brainstem or from when you first decide to press the key. These are all potentially relevant things, but they aren't part of the keypress to screen input latency.