GithubHelp home page GithubHelp logo

Comments (2)

39aldo39 avatar 39aldo39 commented on August 20, 2024

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.

noctuid avatar noctuid commented on August 20, 2024

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)

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.