I am starting to work with keyboardlayouts on windows using kbd.h. I understood the part scancode->keycode via kbdxx.dll but struggle on the part of processing modifier keys (shift, Ctrl,Alt) especially how the binary coding of the states of those keys go along with the keycodes.
As the description in kbd.h is not helping me I am looking for more literature on this.
Where do I find more information about Keyboards especially the part where modifier keys come into place?
There is no official documentation for keyboard layout format aside from
kbd.hfrom SDK and sample keyboard layouts.There is some unofficial description of these structs and flags: https://github.com/lelegard/winkbdlayouts