Comments (2)
I looked at the Japanese keys before once, but I am not certain what all the different keys do. In the xkb keycodes file there are all these keys:
// Keys that are generated on Japanese keyboards
//<HZTG> = 93; // Hankaku/Zenkakau toggle - not actually used
alias <HZTG> = <TLDE>;
<HKTG> = 101; // Hiragana/Katakana toggle
<AB11> = 97; // backslash/underscore
<HENK> = 100; // Henkan
<MUHE> = 102; // Muhenkan
<AE13> = 132; // Yen
<KATA> = 98; // Katakana
<HIRA> = 99; // Hiragana
<JPCM> = 103; // KPJPComma
But I am not sure what they all mean and I thought I also looked at a different source which had conflicting keycodes for them (don't know where). Do you an overview of the keys? Or should I just copy the xkb names and keycodes?
from klfc.
That looks the same as for me. Allowing HKTG and also "KatakanaHiragana" and "HiraganaKatakana" as names would be nice.
I'm unsure about other keyboards or if this information is helpful, but my thinkpad keyboard has the bottom row as fn, control, win, alt, muhenkan (keycode 102), space, henkan (keycode 100), katakana/hiragana (HKTG keycode 101), alt, printscreen, control. AE13/Yen is also keycode 132 for me (left of backspace), and AB11/Ro/backslash (left of right shift) is also keycode 97. Mapping Muhenkan, Henkan, Yen, and Ro already works as expected for me. The only thing missing is the Hiragana/Katakan toggle key.
The Japanese keyboards I've seen normally just have a hiragana/katakana/romaji toggle key rather than dedicated hiragana and katakana keys. I don't have KATA, HIRA, and JPCM keys, but those keycodes do match the ones listed in my evdev file.
from klfc.
Related Issues (20)
- OEM_102 not present HOT 4
- MSKLC does not accept LF line endings generated on Linux HOT 7
- "dead key is not defined" when converting from .klc HOT 9
- Contribution: Keyboard Layout Editor .json generator HOT 1
- Exporting to keymaps format (linux virtual console) HOT 1
- issues with 'cabal install' HOT 1
- Update/fix klfc-bin in AUR HOT 2
- Build failures HOT 5
- Set umask in xkb's install-system and uninstall-system scripts
- [macOS] `keylayout` generation does not take into account the top-left key on ANSI keyboards. HOT 3
- Extend xkb support HOT 1
- Add Yen and Ro support for klc
- LocalIDs HOT 6
- Not happy with my beautiful json. HOT 4
- Cannot bind `≅` when using X Keyboard Extension format, instead `≈` is bound to the desired key. HOT 2
- Are custom dead keys and ligatures supposed to work with the X Keyboard Extension format or not? HOT 3
- XKB: arrow keys from Extend layer behave differently than arrow keys in Base layer HOT 4
- Converting from KLC gives "is not supported on the shiftstate" on all shiftstate characters HOT 2
- Return non-zero error code on errors
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 klfc.