Merge changes from topics "alt+meta=caps", "hasKeycode_bugfix" into main

* changes:
  Allow toggle caps lock even if device doesn't a have caps lock key
  hasKeycode API should take into account key remapping