[Feature]: Support using the "Fn" key alone as push-to-talk hotkey on macOS

オープン
#1,083 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
50/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
macos, rust, tauri
領域
desktop

調査の方向性

Start at the CGEventTap-based hotkey recorder named in the issue and confirm which event types it currently listens for; Fn arrives as a flagsChanged event from the 0x00FF Apple vendor top-case HID page, not keyDown, so the recorder never sees it. Then find the settings hotkey-recorder field and its persisted hotkey value so a separate "Use Fn key" toggle can be added alongside it. Done means Fn can be set alone as push-to-talk and the recording field visibly detects the press; there is no linked PR or assignee yet, so check comments before starting.

索引モデルが issue の本文から書いたものです。

説明

Area

Voice capture / hotkey

Problem or workflow

On MacBook Pro (and other MacBook models), the physical keyboard has no "Right Control" key — only a left Control key. The current default hotkey shown in settings is "Right ^" (Right Control), which cannot be pressed at all on the built-in keyboard.

I tried setting the hotkey to "Fn" instead (as some alternative dictation tools support), but the hotkey recorder does not detect the Fn key press at all — nothing happens when Fn is pressed in the recording field.

This is likely because Fn triggers a flagsChanged event on macOS rather than a standard keyDown event, and the hardware sits on a different HID usage page (0x00FF, Apple vendor top-case keys) than regular keys, which the current CGEventTap-based hotkey recorder does not capture.

Proposed Solution

Add a dedicated "Use Fn key" option (similar to a toggle, separate from the normal hotkey recorder) that listens for Fn via flagsChanged events at the .cghidEventTap level, consistent with how other Mac dictation tools have implemented this (e.g. OpenTypeless shipped Fn support in v1.1.49 via the native hotkey path).

Alternatives Considered

Currently working around this by using Right Option (⌥) as the hotkey instead, since it's a real key on the built-in keyboard. This works but is less convenient for one-handed triggering compared to Fn.

Additional Context
  • macOS version: MacOS 26.6.2 (25G83)
  • OpenLess version: Version 1.3.18 (1.3.18)
  • Hardware: MacBook Pro
Before submitting
  • I have searched existing issues and discussions.
  • I am willing to help test this feature if it lands.
主要言語
Rust
スター
3.7k
フォーク
349
平均マージ
2日 14時間
マージ済み PR(30日)
97

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Open-Less/openless のほかの issue

Open-Less/openless の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。