Giter Site home page Giter Site logo

imasanari / cmd-eikana Goto Github PK

View Code? Open in Web Editor NEW
419.0 419.0 55.0 2.45 MB

Application of macOS which switches Alphabet / Kana by pressing left and right command key alone. Other key remapping is also possible.

Home Page: https://ei-kana.appspot.com/

License: MIT License

Swift 96.56% Objective-C 3.44%

cmd-eikana's Introduction

trophy

cmd-eikana's People

Contributors

imasanari avatar soh335 avatar taisukef avatar uetchy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cmd-eikana's Issues

Ctrl+Commandで空白のinvalid characterが入力されてしまう

大変お世話になっています.
以前から英かなを起動中に,任意のテキストエディターでctrl+commandを入力すると空白のinvalid characterが生成されてしまうのですが,何か対応策をご存知でしょうか?(英かなを終了すると問題は解決します)
私はUS配列のキーボードを搭載したmacBookProを用いています.OSはBig Sur 11.2.1です.

日本語入力での変換中のcmdキーの動作の追加の要望

日本語入力中の動作についてもJIS配列と同様の動作を実現してほしい。
JISでは日本語変換中に英数キーを二回連打するとローマ字入力に編纂される機能が備わっている。この機能を本アプリケーションでも実装して頂きたい。

ライセンス

このプロジェクトはオープンソースですが、ライセンスが不明です。何らかのライセンスが表記されていると、他の開発者も安心してプロジェクトに貢献できるので、是非ご検討ください😄

com.apple.xpc.launchd error

Console に次のエラーが 10 秒に 1 回出続けます。解決策をご存知でしたら、教えていただけますでしょうか。

2/6/17 12:17:22.723 com.apple.xpc.launchd[1]: (io.github.imasanari.cmd-eikana-helper[4175]) Could not find and/or execute program specified by service: 45: Operation not supported: io.github.imasanari.cmd-eikana-helper
2/6/17 12:17:22.724 com.apple.xpc.launchd[1]: (io.github.imasanari.cmd-eikana-helper) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

環境:

  • El Capitan 10.11.16 (SSD を初期化後に clean install し、/Users のみを Time Machine から移行したもの)
  • MacBook Pro 15" Mid 2014
  • ⌘英かな 2.2.0

Request: implementation overview

I just started learning Swift and is wondering if you can briefly explain your code in KeyEvents.swift?

I would like to refactor your App to use single left-Shift to output "(", single right-Shift to output ")", left/right-Shift + key to output default Shift behavior.

Thank You!

cmdキーでクリックする都度、交互に2つの出力キーを送信する動作の追加を要望

要望としては、汎用的でなくとも以下の動作切り替えができることを実現して欲しい。

例.
o Command-Lに [かな] <-> [英数] を交互にキー出力する設定をする。
動作:
現在、英数モードとなっている。

  1. Command-L をクリック - [かな]モードに切る変わる。
  2. 再度、Command-L をクリック - [英数]モードに切り替わる。
  3. もう一度、Command-L をクリック - [かな]モードに切り変わる。

Command-L / Command-R それぞれのキーのみで交互に [かな] / [英数] モードに切り替わる動作を実現して欲しい。

背景: Virtual Keyboard Driverを用いていないこのアプリを気に入っているのですが、 [かな] / [英数] モード切り替えのために片方のcmdキーのみで [前の入力ソースを選択] を設定し、使っています。しかし、これだとうっかり、カタカナにしてしまったりして、思うように行かない場合がまま発生し、困っている次第です。

iTerm2 3.1以降で動作しない

USキーボード使いには必須のユーティリティとして毎日使っています。

設定は、左Cmd->英数、右Cmd->かな のみの標準的な状態です。
表題の通り、iTerm2のバージョン3.1以降で、IMが切り替わらなくなりました。
iTerm2のバージョン3.0.15までは問題なく、3.1系では最新の3.1.5まで全滅です。

iTerm2の作者にも報告し、gitlabのissuesにも上げてあるのですが、今のところ修正される気配がありません。

iTerm2側の問題とは思うのですが、考えうる対応策は何かないでしょうか?

アプリ毎のキーリマップ

アプリ毎にキーリマップを設定できるか、キーリマップ設定毎の除外アプリの機能があったら良いなと思いました。
後者は、類似アプリの Karabiner で実装されてます。

Key Remap で Command の左右の区別化希望

単体の Command_L と Command_R が区別できるようなので、
ユーザーの Key Remap でも Command_L と Command_R + 何かのキー
のときにも左右の区別を付けるようにならないでしょうか。

Karabiner からの乗り換えで、vi-like な使用が必要で、
Command_R+h = ←
Command_R+j = ↓
Command_R+k = ↑
Command_R+l = →
のように割り当てるのと同時に、
Command_L+l 等で Safari のアドレスバーにフォーカスなどのネイティブショートカットも生かしたいのです。

PowerPoint でマウス操作が不安定になる不具合

いつも有り難く使わせていただいています。
PowerPoint for Mac(15.29.1)でちょっとおかしな挙動を発見したので報告します。
例えば左サイドバーのスライドサムネイル一覧でいくつかのサムネイルを連続クリックすると、当然フォーカスがそこに移っていくわけですが、⌘英かなが起動した状態でそれをすると、言葉で説明は難しいのですがスライド間をクリックした時の横線カーソルがチラチラ出たり、スライドの順が勝手に入れ替わったりします。雰囲気的にはドラッグ判定になっているというか、マウスアップが通ってないというか...
また逆に、テキストを範囲選択する為にドラッグしている時、勝手にマウスダウン継続が中断されるのか、意図しないワードが選択されそれをドラッグして他の位置にドロップしてしまう結果になることもあります。
⌘英かなを終了すると即座に収まります。使用バージョンは2.2.0です。
今は安全の為PowerPoint作業時は終了していますが、もし改善の参考にしていただければ幸いです。

キーリマップが効かなくなる

大変お世話になっております。
最近キーリマップが効かなくなります。

コントロールキー + hjkl で上下左右としていますが、それらが効かなくなります。 
上記が効かない間も、左⌘や右⌘で英かな切り替えはできます。
リスタートしても改善されません。
PCを再起動すると改善されますが、しばらく使用しているとまたコントロールキー + hjkl だけが効かなくなります。

macOS High Sierra 10.13.6
キーボード:HHKB

可能でしたら改善していただけると幸いです。

Some apps are not appearing in the Exclusion Apps

もう必須アプリになりました。ありがとうございます。
しかし、Exclusion Appsにいつも使っているアプリが見えません。
WineskinでラッピングしたWine appですが、bundle identifierを手動で指定することができたらいいかもしれませんね。
.plistを直接いじってもみたのですが、ダメでした。

スリープ後、切替えキーが効かなくなる

こんにちは、⌘英かな には大変お世話になっています。

Sierra が出た直後から�使い続けていまして、�⌘英かなも随時更新しています。現在は�2.2.0。

その最初から現在まで、スリープのあと、⌘英かなが効かなくなるという現象が、一貫して続いています。(具体的には、コマンドキーを押しても、入力モードが切り替わらない。) なので、スリープから復活する度に、⌘英かなを一旦終了し、もう一度起動しています。

macOS 10.12.2 (�アップルお薦めアップデートは常に�全部�行っている。)
�グーグル日本語入力
Mac mini (Late 2012)

古恵 亮(ふるえ りょう)

Apple Wireless Keyboard (with Numpad)

I just bought an Apple Wireless Keyboard with Numpad. My eikana key modifications don't work on that keyboard. Is there any way to fix this?

(Note: I am on macOS High Sierra. Maybe this is part of the problem. Since upgrading I had to restart eikana more often then before; especially when switching from pure MacBook to MacBook attached to screen with USB keyboard)

Extra repeated keyboard input

Ever since turning on this app, sometimes I hit Cmd-W to close a tab but it closes 3 tabs instead. It seems like there is a bug involving input buffering?

日本語PCキーボードへの対応について

いつも大変便利に利用させていただいております。ありがとうございます。

当方、PCキーボードにて使用しています。
通常は英語PCキーボードで問題なく動作しておりますが、日本語PCキーボードを使用することになり同様にキーリマップの設定をしようと試みたところ、「変換」「無変換」「ひらがなカタカナ」というキーを認識しないため、それらをリマップすることができません。
日本語PCキーボードのそれらのキーを認識するよう拡張していただくことは可能でしょうか。

Karabiner-Elementsを使えという意見もあるかもしれませんが、当方の環境では動作しない不具合もあり、⌘英かなのシンプルな機能やOSの修飾キー設定がそのまま生きる点で、できればこちらを利用したいと思っております。
ご検討よろしくお願いいたします。

Spineを起動しながら使用した時、⌘キーのReleaseイベントがアプリケーションに送信されない

Spine ( http://ja.esotericsoftware.com/ ) をアクティブにした状態で⌘英かなによって切り替えを行った時、
⌘キーのリリースイベントがSpineに届かないらしく、その後ずっと⌘キーが押されっぱなしの挙動になってしまいます。

他のアプリケーションではこの現象に遭遇したことが無かったのでSpine側にも問い合わせたのですが、どうも⌘英かなからリリースイベントが飛んできていない、ということでした。
http://esotericsoftware.com/forum/When-used-with-certain-software-the-key-will-stay-pressed-15820

Windows Remote Desktop環境にて「英数」outputが「`」となる

いつもありがたく使わせていただいております。
以下、仕様かもしれませんが不便な現象に遭遇しましたので質問させていただきます。

[環境]
接続元:

  • ⌘英かな 2.2.3
  • macOS Mojave 10.14.6
  • MS Remote Desktop 10.6.8(1914)

接続先:

  • Windows 10

[事象]

上記環境にて、macからWindowsへリモートデスクトップ接続をしています。

その際、接続先のWindows上で、英かなで「英数」をoutputに指定したキーを押すと、「」文字が入力されます。 例えば、input:「Option_L」、output: 「英数」を設定すると、リモート接続先のWindows上でOption_Lを押すと「」が入力されます。「かな」を設定しているキーは特に文字が入力されるようなことはありません。

これは仕様でしょうか。
「`」が入力されないような設定方法があればご教示いただけませんでしょうか。

どうぞよろしくお願いいたします。

VSCodeのターミナル内で、キーダブルプッシュによる再変換が正しく行われない

JIS配列のMacBook Proを愛用しているのですが、MX Keys for Macを買ったので⌘英かなを使わせていただいている者です。
左controlに英数キー、右controlにかなキーをアサインしているのですが、VSCodeのターミナルでかな入力中に左controlダブルプッシュで英数に再変換すると貼付動画のように再変換結果がおかしくなります。ネイティブの英数/かなキーだと発生していないので、おそらく⌘英かなによるバグかと思います。

ei_kana_issue_downsized.mp4

メニューバーアイコンの表示・非表示の切り替え

Karabinerのように、メニューバーアイコンの表示・非表示を切り替える機能があると、ユーティリティアプリとして、より使いやすいように思います。
もしかすると、実装にはバックグラウンドヘルパーが必要になってくるかもしれません。
どう思いますか?

English version

Hopefully someone who speaks japanese and english help us with the translation.

Google translation: うまくいけば、日本語と英語を話す人が翻訳を助けます。

メディアキー、音量キー、消音キーのサポート

非純正キーボードを使用していますが、「Shortcuts」の設定画面でメディアキーと音量キーと消音キーが認識されないようです。
環境にもよるのかもしれませんが、もし未実装なのであれば対応していただけるとありがたいです。

Backing up the settings

How do I backup all the keyboard shortcuts? I need to do a clean install of macOS because High Sierra is really buggy.

Thanks.

Backslash on Swiss German keyboard (ALTGR + DANISH_DOLLAR)

First, thanks a lot for this key re-mapper. It's highly useful and works better than Karabiner Elements.
Things would be perfect if I would be able to remap the backslash. On a Swiss PC keyboard there is an additional key between Left Shift and y (z on US) that is used for < (without modifier) > (with shift) and \ (with AltGr). Eikana detects this key as DANISH_DOLLAR. Rules for < and > work as intended, but the one for \ doesn't.

Switch to different languages other than Japanese

Hi,

Have you ever considered adding different languages other than Japanese on the preference? Or could you tell me where I must modify the code to alter the language?

Also, is it possible to add other key triggers (e.g. control, alt, etc...)?

Thanks,

カタカナ入力モードについて

ver 2.0にアップデードしましたが、shift + 右cmdでのカタカナ入力モードの発動が起こらないようです。
特定の環境で起こる事象なのかどうかはわかりませんが、お時間のあるときに調べていただけると幸いです。

mapping Option_L to ⌃Option_L

HI everyone
because of problems with KARABINER Elements in Sierra High with using function keys in Mac with control strip many users need alternative software to handle.

iMasanari works well in mapping CMD to CLTR in copy and pasting across both systems, I need also work with Option_L as accent button to map ⌃Option_L combination.

Support 3 or more languages at a time

Hey, first of all, thank you so much for this. I couldn't tell you how many times I feel annoyed when I have to switch between English and Japanese in one sentence. The default key is counter-intuitive. cmd-eikana is a life saver. Thanks a lot.

Speaking of that, I do have a feature request. As I currently have 3 keyboards on my mac (as a native Thai living in Japan, I do have Thai, English, Japanese layouts on my mac), I find it annoying for switching to the 3rd language, do you think it is something you want to support in the future?

If this goes along with your vision for the project, I am more than happy to help you contribute this by open a PR to add this feature.

Of the top of my head, I think solution could be about something like

l-cmd: (default) Eng -> press again -> Thai ....
r-cmd: (default) Jap -> press again -> Thai ....

or to generalize it

l-cmd: (default) Lang1 -> press again -> Lang3 -> press again -> Lang4 ... (until you exhaust the list then go back to default)
r-cmd: (default) Lang2 -> press again -> Lang3 -> press again -> Lang4 ... (until you exhaust the list then go back to default)

What do you think?

HyperKeyの対応は可能でしょうか

自分はkarabinerの時に、
SpaceをCtrl+Shift+Command+OptionのHyperKeyとして色々マッピングしましたが、⌘英かなにも対応可能でしょうか?
※技術的に可能であれば自分でPRを作ってみます。

英→Cmd_L、かな→Cmd_rの実装希望

素晴らしいソフトをありがとうございます。Karabinerの代替として便利に使用しております。
本来の役割とは逆になるのですが、表題通り「英やかなキーに⌘キー単体を割り当てる」オプションが実装していただけましたら幸いです。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.