Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

karabiner.xmlを置き換えてKarabiner-Elements向けのkarabiner-elements.jsonとした #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

y-yu
Copy link

@y-yu y-yu commented Aug 30, 2020

@y-yu y-yu changed the title karabiner.xmlを置き換えてKarabiner-Elements向けのkarabiner-elements.json karabiner.xmlを置き換えてKarabiner-Elements向けのkarabiner-elements.jsonとした Aug 30, 2020
@y-yu y-yu mentioned this pull request Aug 30, 2020
@banjun
Copy link
Member

banjun commented Sep 1, 2020

元々のXMLからこのJSONへの変換がよさそうか、というふうに最初は読みはじめたんですけど、それはそれとして、Karabiner-Elementsでホストされているこちらのものとの違いは、どう解釈するのがいいんでしょうね・・・?となりました。
https://github.com/pqrs-org/KE-complex_modifications/blob/master/public/json/aquaskk.json

  • pqrs-org/KE-complex_modificationsでホストされているものでカバーされているのであれば、xml削除のみでも良いのかもしれない (→ karabiner.xmlを削除 #98 に戻ってしまうが...)
  • このPRのJSONのアドバンテージのうち、pqrs-org/KE-complex_modificationsに適用してもよいものがあるのであれば、そちらにPRする手もあるのかもしれない (そちらのほうがユーザーの使いやすさが高い可能性がある)

@banjun
Copy link
Member

banjun commented Sep 1, 2020

@banjun
Copy link
Member

banjun commented Sep 1, 2020

単純にpqrs-org/KE-complex_modificationsとの違いだけをあげると:

  • manipulatorsが1個のルールを複数rulesに入れている(ルールごとにdescriptionがありオンオフできる)か,JetBrains対象のmanipulatorsはまとめて1個のルールとしているか
  • to.select_input_sourceにlanguageとinput_mode_idがあるか
  • conditionsにinput_source_ifがあるか(XMLではNonLatinに相当?)
  • shiftをleft,right分けているか
  • Terminal/iTerm2のルールがあるかどうか(元のXMLにはない追加要素)

@y-yu
Copy link
Author

y-yu commented Sep 2, 2020

なるほど。Karabiner-Elements自体にあるとは思ってませんでした……。ちょっとそっちを調べてみたいと思います。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants