[GH-ISSUE #111] Add fn keys to Svelte Visualiser #89

Closed
opened 2026-05-05 04:54:00 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @gwthm-in on GitHub (May 10, 2018).
Original GitHub issue: https://github.com/keycastr/keycastr/issues/111

I really appreciate the effort you put in making this. It will be really good if you can give choice to add modifier keys in Svelte Visualiser.

Or request to add fn keys as a modifier in Svelte Visualiser.

image

Currently, I see fn key is not shown as a modifier. I would like to request this as a feature. Though I never worked on Object C, I can give it a try and contribute if you guys help me.

Thank you :)

Originally created by @gwthm-in on GitHub (May 10, 2018). Original GitHub issue: https://github.com/keycastr/keycastr/issues/111 I really appreciate the effort you put in making this. It will be really good if you can give choice to add modifier keys in Svelte Visualiser. Or request to add fn keys as a modifier in Svelte Visualiser. ![image](https://user-images.githubusercontent.com/8710113/39854044-583c8726-5443-11e8-9abf-78ffd70c5ee8.png) Currently, I see fn key is not shown as a modifier. I would like to request this as a feature. Though I never worked on Object C, I can give it a try and contribute if you guys help me. Thank you :)
Author
Owner

@lqez commented on GitHub (May 16, 2018):

I added fn into Svelte but I'm not sure this could meet your requirement.
When I press the left arrow key with fn, it changed into home, not fn + ⇦.

<!-- gh-comment-id:389475468 --> @lqez commented on GitHub (May 16, 2018): I added `fn` into Svelte but I'm not sure this could meet your requirement. When I press the left arrow key with `fn`, it changed into `home`, not `fn + ⇦`.
Author
Owner

@akitchen commented on GitHub (May 16, 2018):

Hello @gowtham-sai and thank you for using KeyCastr! - I am wondering, could you give a few examples of how you would use this and what you would expect to see? I think of fn on macOS as giving us access fo the F-keys when the special feature keys are enabled on the F-key row. Do you have another use case in mind?

<!-- gh-comment-id:389579672 --> @akitchen commented on GitHub (May 16, 2018): Hello @gowtham-sai and thank you for using KeyCastr! - I am wondering, could you give a few examples of how you would use this and what you would expect to see? I think of `fn` on macOS as giving us access fo the F-keys when the special feature keys are enabled on the F-key row. Do you have another use case in mind?
Author
Owner

@gwthm-in commented on GitHub (May 17, 2018):

IMHO I prefer to see only function key presses when somebody is pressing f1, f2 keys and etc. But with the latest mac, when function keys are swapped, if you think it is good to show other keys presses that are swapped in place of fun keys (for ex: chrome home keys when using chrome, if somebody presses it) you can show that as well.

image

But I prefer showing only fn keys, because when sombody presses chrome home button, they mean to go to chrome home page, but not mean to press f5 key.

<!-- gh-comment-id:389814824 --> @gwthm-in commented on GitHub (May 17, 2018): IMHO I prefer to see only function key presses when somebody is pressing f1, f2 keys and etc. But with the latest mac, when function keys are swapped, if you think it is good to show other keys presses that are swapped in place of fun keys (for ex: chrome home keys when using chrome, if somebody presses it) you can show that as well. ![image](https://user-images.githubusercontent.com/8710113/40170983-a44c8df6-59e7-11e8-9897-db672ceacb17.png) But I prefer showing only fn keys, because when sombody presses chrome home button, they mean to go to chrome home page, but not mean to press f5 key.
Author
Owner

@lqez commented on GitHub (Jun 14, 2018):

@akitchen I'm not sure about showing fn status. If you think it could be worth to make it, I'll update the previous PR #112.

<!-- gh-comment-id:397224920 --> @lqez commented on GitHub (Jun 14, 2018): @akitchen I'm not sure about showing `fn` status. If you think it could be worth to make it, I'll update the previous PR #112.
Author
Owner

@akitchen commented on GitHub (Jun 14, 2018):

I don't believe this is something that is useful to implement; at the end of the day, we care about (and display) F keys like F2, F8, etc. Whether the user needed to press the fn accessory key to provide that input isn't really relevant, as it's a personal preference whether to use the Function key row as F-keys vs. "App Control" keys.

We shouldn't clutter up the Svelte visualizer for this, but in theory the visualizer abstraction is pluggable, so someone could add their own visualizer if they want to customize the behavior.

<!-- gh-comment-id:397393721 --> @akitchen commented on GitHub (Jun 14, 2018): I don't believe this is something that is useful to implement; at the end of the day, we care about (and display) F keys like F2, F8, etc. Whether the user needed to press the fn accessory key to provide that input isn't really relevant, as it's a personal preference whether to use the Function key row as F-keys vs. "App Control" keys. We shouldn't clutter up the Svelte visualizer for this, but in theory the visualizer abstraction is pluggable, so someone could add their own visualizer if they want to customize the behavior.
Author
Owner

@lqez commented on GitHub (Jun 15, 2018):

Thanks @akitchen !

<!-- gh-comment-id:397520340 --> @lqez commented on GitHub (Jun 15, 2018): Thanks @akitchen !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/keycastr#89
No description provided.