コントロールのコンボじゃない、単押しに機能をアサインする場合はコードじゃなくてコントロール自体のクリックとかタッチとかにアサインすることもできるけど、たぶんUIのバグで反映されたりされなかったりするのでコードに書いたほうが良さげ
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.