jtroo / kanata

Improve keyboard comfort and usability with advanced customization
GNU Lesser General Public License v3.0
3.05k stars 127 forks source link

fix(windows): use osc_to_u16 even without read scancode #1321

Closed jtroo closed 2 weeks ago

jtroo commented 2 weeks ago

Describe your changes. Use imperative present tense.

This fixes an issue where keypad enter was not working correctly. I'm not entirely sure why the conditional compile branch was written in the first place; maybe I defaulted to it without thinking much about it. But it seems correct to use osc_to_u16 regardless of llhook reading mechanism given that output VK doesn't care about input reading mode.

Checklist