diff options
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`. |