Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suppress ball a while, when scroll mode changed #93

Merged
merged 1 commit into from
Feb 7, 2022
Merged

Conversation

koron
Copy link
Collaborator

@koron koron commented Feb 7, 2022

scrollモードを切り替えた直後に、極短い期間トラックボールの動きを無視する機能を追加しました。

config.h に KEYBALL_SCROLLBALL_INHIVITOR で期間をミリ秒単位で設定できます。
デフォルトでは 50 ミリ秒に設定してあります。
無効化するには 0 を設定します。

#define KEYBALL_SCROLLBALL_INHIVITOR 0

参考:

keyball46スクロール後にレイヤーが0に戻った瞬間マウスポインター少し移動するのどうにかなりませんか

https://twitter.com/kaspinMTH/status/1490152961640923139


(In English)

I added a feature to suppress to sense trackball, just after changed scroll mode.

You can configure that inhibition period by KEYBALL_SCROLLBALL_INHIVITOR in config.h
Its unit is millisecond and default is 50.
To disable this feature set 0

#define KEYBALL_SCROLLBALL_INHIVITOR 0

@koron koron self-assigned this Feb 7, 2022
@koron koron merged commit eadc74b into main Feb 7, 2022
@koron koron deleted the ball-inhibition branch February 7, 2022 02:09
@Yowkees
Copy link
Owner

Yowkees commented Feb 7, 2022

koron様
早速のご改良、誠にありがとうございます!
手持ちのKeyballでは、旧ファームでもこの現象を試してみてもほとんどカーソル動きませんでしたが、確かに微動は確認できました。新しいファームでどう変化するか確認いたします。ありがとうございます!

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