logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

japan (986B)


  1. // Japanese keyboards need the Eisu and Kana Shift
  2. // and Lock keys, which are typically bound to the
  3. // second shift level of some other modifier key.
  4. // These interpretations disable the default
  5. // interpretation (which would have these keys set
  6. // to the same modifier as the level one symbol).
  7. default partial xkb_compatibility "japan" {
  8. interpret.repeat= False;
  9. interpret Eisu_Shift+Lock {
  10. action= NoAction();
  11. };
  12. interpret Eisu_toggle+Lock {
  13. action= NoAction();
  14. };
  15. interpret Kana_Shift+Lock {
  16. action= NoAction();
  17. };
  18. interpret Kana_Lock+Lock {
  19. action= NoAction();
  20. };
  21. };
  22. // Some Japanese keyboards have an explict
  23. // Kana Lock key and matching LED.
  24. partial xkb_compatibility "kana_lock" {
  25. virtual_modifiers Kana_Lock;
  26. interpret Kana_Lock+AnyOfOrNone(all) {
  27. virtualModifier= Kana_Lock;
  28. useModMapMods=level1;
  29. action= LockGroup(group=+1);
  30. };
  31. indicator "Kana" {
  32. !allowExplicit;
  33. groups= All-Group1;
  34. };
  35. };