Comments (3)
km = ibus_keymap_get("us");
ibus_lookup_keysym(km, keycode, state)
というふうに、毎回キーマップからキーシンボルを得るようにすればいいっぽい?
from akaza.
ibusには詳しくないので、なぜレイアウトの設定をしないといけないのかよくわからないのですが、現状、ibus-akazaを有効にすると、キーボードレイアウトが強制的にusに変更されます。
Line 139 in d4697b3
ibusのドキュメントを確認してみたところ、
https://github.com/ibus/ibus/blob/2a235c8c33f1de56df4873fe3662d5beb1355715/src/ibusenginedesc.h#L111 には
If layout is "default", the engine inherits the current layout and does not change the layout. The layouts "default" and "" are same.
とあるので、とりあえず、"default"か""にしておくのが無難そうに思います。
from akaza.
おぉ。なるほど。。
なんだか ibus-anthy にせよなんにせよ、設定でキーレイアウトを変えられるようになっていたので、変えるのが大前提何だと思っていたのですが、default で設定できるならそれで良さそうですね
from akaza.
Related Issues (20)
- 辞書登録機能 HOT 3
- master branchかmain branchか HOT 2
- AZIK 対応
- TUT-Code をサポートする
- config.ymlがない HOT 2
- 辞書に入っているがコーパスに入っていない文字列のオーダーを考える HOT 5
- surrounding text の活用
- ライブコンバージョンを有効にした時にちらつく問題 HOT 1
- SKK-JISYO.Lのパスを指定しなくても自動的に読み込んでほしい HOT 1
- ライブコンバージョンの時は、lookup table の表示しない HOT 1
- ライブコンバージョン時に kk とかが邪魔 HOT 2
- 数字の文節区切りがおかしい HOT 2
- ibus-akaza を reactive にする
- 名前を変える
- モデルファイルにバージョン番号を埋める? HOT 1
- Home ボタンなどを押した時は確定させてほしい HOT 1
- 辞書の編集機能を TreeView で実装する HOT 2
- 短いものの方を優先する機能を復活させる
- Add PKGBUILD HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akaza.