diff options
author | Nick Brassel <nick@tzarc.org> | 2024-05-30 12:00:41 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 12:00:41 +1000 |
commit | 6ef97172889ccd5db376b2a9f8825489e24fdac4 (patch) | |
tree | 334e3bf41c8554d4bee73a140822f95f60eb64e9 /docs/feature_os_detection.md | |
parent | 395766657ff98a4b1fd0dcba5917557f8acbb9e4 (diff) |
Vitepress conversion of docs. (#23795)
Diffstat (limited to 'docs/feature_os_detection.md')
-rw-r--r-- | docs/feature_os_detection.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/feature_os_detection.md b/docs/feature_os_detection.md index a50ee7ccc2..d0556d2549 100644 --- a/docs/feature_os_detection.md +++ b/docs/feature_os_detection.md @@ -29,10 +29,12 @@ enum { } os_variant_t; ``` -?> Note that it takes some time after firmware is booted to detect the OS. +::: tip +Note that it takes some time after firmware is booted to detect the OS. +::: This time is quite short, probably hundreds of milliseconds, but this data may be not ready in keyboard and layout setup functions which run very early during firmware startup. -## Callbacks :id=callbacks +## Callbacks {#callbacks} If you want to perform custom actions when the OS is detected, then you can use the `process_detected_host_os_kb` function on the keyboard level source file, or `process_detected_host_os_user` function in the user `keymap.c`. |