[Core] Refactor keyevent_t
for 1ms timing resolution
#15847
Merged
keyevent_t
for 1ms timing resolution
#15847