0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

磁気軸キーボードなどで青軸の音を鳴らす

0
Last updated at Posted at 2025-12-06

最近はゲーミング向けの磁気軸キーボードを普段の入力にも使用しているわけですが、そのままだと底打ち前の入力のタイミングでフィードバックが少なくて高速に入力しずらいです。そのため早い段階で青軸の音源を鳴らしてそれをなんとかしようと思い試した所、これが凄く良かったのでここに記しておきます。

まず初めに青軸キーボードの音を鳴らすにはキーボード入力で音を鳴らすためのソフト「bucklespring」をインストールする必要があります。これはUbuntuの公式リポジトリにあるため簡単にインストール可能です。

sudo apt install bucklespring

またbucklespringは元々バックルスプリングキーボードの音を鳴らすために作られたものであるため、青軸キーボードの音を鳴らすためには別途青軸キーボードの音源が必要です。これは以下にあるので以下の全ての音源ファイルを同じディレクトリにダウンロードすればOKです:
https://github.com/AlexanderWillner/bucklespring/tree/9764bb02b0163d39ba6abd7dcd41a4cf5cebb80b/wav-cherry

音源がダウンロード出来たらあとは以下のコマンドを実行するだけで青軸キーボードの音が鳴るようになります。

buckle -p 青軸キーボードの音源ディレクトリ -f 0x31

以上が成功したら以下の設定ファイルと以下のコマンドを使ってpipewireが起動したタイミングで自動的に青軸キーボードの音を有効化するようにすることもできます。

~/.config/systemd/user/buckle.service
[Unit]
Description=Buckle (user)
BindsTo=pipewire.service pipewire-pulse.service
After=pipewire.service pipewire-pulse.service
Wants=pipewire.service pipewire-pulse.service

[Service]
ExecStart=/usr/games/buckle -p 青軸キーボードの音源ディレクトリ -f 0x31
Restart=always
RestartSec=1

[Install]
WantedBy=default.target
systemctl --user daemon-reload
systemctl --user enable buckle
systemctl --user start buckle
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?