lilyvanoekel/percupuff

Enable typing values for parameter knobs

Open

#66 创建于 2025年9月24日

在 GitHub 查看
 (1 评论) (0 反应) (1 负责人)TypeScript (10 fork)auto 404
area:frontendcmajor:nonecomplexity:3hacktoberfestpriority:mediumstatus:readytype:feature

仓库指标

Star
 (22 star)
PR 合并指标
 (PR 指标待抓取)

描述

Feature Description

Currently the only way to control the value for a knob is to click and drag it. This can be slow and ineffective if you have a specific value you want to set it to. Instead, it would be nice if you could click on the value below the knob, and enter it on the keyboard.

These are the knobs in question:

You would click on this:

This label would then indicate somehow it's active and listening to key presses. Maybe it's coloured red? Maybe it pulsates somehow?

The user then has an opportunity to use the keyboard for input. One way this could work is by timing, so that if key presses follow each other within X milliseconds, they get grouped into a value, but if you wait more than that, it gets treated as the start of a new value being entered.

One thing to be aware of, negative values are sometimes possible:

And in general not every knob will have values of 0 - 100.

Motivation / Use Case

It can be very fiddley to get exact values with these UI elements.

Alternatives Considered

No response

Additional Context

No response

贡献者指南