Skip to content

Kb privacy rng - #88

Merged
filipleple merged 4 commits into
masterfrom
kb_privacy_rng
Jul 22, 2026
Merged

Kb privacy rng#88
filipleple merged 4 commits into
masterfrom
kb_privacy_rng

Conversation

@philipanda

@philipanda philipanda commented Jul 17, 2026

Copy link
Copy Markdown

Tested on NV41MZ TGL with Dasharo v1.6.0-rc4.

A video shows the feature in action, typetimer.netlify.app was used to measure the time between consecutive key presses. During the test the Fn+S combination was pressed a couple times to enable/disable keyboard privacy feature.
Screencast From 2026-07-17 14-56-19.webm

I've also tested whether it affects the typing experience. I've performed two typing speed tests, one with the feature enabled, one with it being disabled achieving similar results. It was annoying at first, but it's not that difficult to get used to it.
Normal:
normal

Keyboard privacy:
kb_privacy

The slight random delay is definitely noticeable. It will definitely be annoying for someone who's not aware of it, but it does not affect typing that much unless someone needs to follow the characters appearing on screen during typing.

I think the maximum delay could be decreased, but it's hard to tell what would be the limit that would make the feature still provide privacy benefits. I'd guess keeping it at about 30ms could still be perfectly fine, but that's just a git feeling.

Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

@filipleple filipleple left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and seems to work nice, seems like there's one wrapping issue though

Comment thread src/board/system76/common/kbc.c Outdated
Co-authored-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
@filipleple
filipleple merged commit e55e64c into master Jul 22, 2026
11 checks passed
@mkopec
mkopec deleted the kb_privacy_rng branch July 29, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants