Initial skeleton: ZMK module structure + Javelin submodule + stub shims

Phase 1 scaffold for porting Javelin steno engine as a ZMK module.
All platform shims are stubs — compiles but no steno processing yet.
This commit is contained in:
afiqzudinhadi 2026-06-22 20:49:01 +08:00
commit 206e5231e1
14 changed files with 445 additions and 0 deletions

View file

@ -0,0 +1,19 @@
#include "clock.h"
// TODO Phase 2: Replace with Zephyr kernel time functions.
// #include <zephyr/kernel.h>
// uint32_t Clock::GetMilliseconds() { return k_uptime_get_32(); }
// uint32_t Clock::GetMicroseconds() { return k_cyc_to_us_floor32(k_cycle_get_32()); }
// void Clock::Sleep(uint32_t ms) { k_msleep(ms); }
uint32_t Clock::GetMilliseconds() {
return 0;
}
uint32_t Clock::GetMicroseconds() {
return 0;
}
void Clock::Sleep(uint32_t milliseconds) {
(void)milliseconds;
}