m...@netbsd.org (Emmanuel Dreyfus) writes: >It seems the layout can be detected using sc->sc_adbdev->handler_id >I borrowed the values from tmk_keyboard and it works fine. There >are just a few numerical values for which I have no name. Where is the >ADB keyboard handler id name list?
I found https://developer.apple.com/documentation/coreservices/1471510-keyboard_selectors but no idea how these relate to different layouts.