Skip to content

input_source_id and/or input_mode_id for Japanese? #4105

Answered by peterjc
peterjc asked this question in Q&A
Discussion options

You must be logged in to vote

I happened to be reading https://karabiner-elements.pqrs.org/docs/json/complex-modifications-manipulator-definition/to/select-input-source/ for the opposite issue, trying to change the input mode. That suggested using Karabiner-EventViewer's Variable screen.

In "ABC" mode (i.e. English for me):

    "input_source": {
        "input_source_id": "com.apple.keylayout.ABC",
        "language": "en"
    },

In romaji mode:

    "input_source": {
        "input_mode_id": "com.apple.inputmethod.Japanese",
        "input_source_id": "com.apple.inputmethod.Kotoeri.RomajiTyping.Japanese",
        "language": "ja"
    },

And in kana mode:

    "input_source": {
        "input_mode_id": "com.apple.inputm…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by peterjc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant