osiweb / unified_retro_keyboard

Project to provide keyboard replacements for various classic computers, as well as classic ASCII keyboard
94 stars 12 forks source link

Each keymap registers an initialize function #25

Closed dfnr2 closed 3 years ago

dfnr2 commented 3 years ago

In order to change from setting up each keymap behavior with a C function, rather than a complex data sructure, each keymap shall register a single keymap initialization function with the keymap module. After that, the keymap can register any other function hooks, virtual devices, key mappings, etc. in the supplied keymap-specific initializer function.

Related to Issue #23

dfnr2 commented 3 years ago

Implemented.