Created
July 31, 2020 16:05
-
-
Save tsutsui/c87f8c13a0d98b1e275a1bccc17854c6 to your computer and use it in GitHub Desktop.
leftover of /usr/X11R7/lib/X11/xkb/keycodes/dreamcast
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// $NetBSD$ | |
// | |
//Copyright 2010 Izumi Tsutsui | |
// | |
//Permission to use, copy, modify, distribute, and sell this software and its | |
//documentation for any purpose is hereby granted without fee, provided that | |
//the above copyright notice appear in all copies and that both that | |
//copyright notice and this permission notice appear in supporting | |
//documentation. | |
// | |
//The above copyright notice and this permission notice shall be | |
//included in all copies or substantial portions of the Software. | |
// | |
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
//EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
//IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR | |
//OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | |
//ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
//OTHER DEALINGS IN THE SOFTWARE. | |
default xkb_keycodes "jp" { // HKT-7600 / HKT-4000 | |
minimum= 8; | |
maximum= 255; | |
<AE00> = 61; // Hankaku_Zenkaku toggle | |
alias <HZTG> = <AE00>; | |
<AE01> = 38; | |
<AE02> = 39; | |
<AE03> = 40; | |
<AE04> = 41; | |
<AE05> = 42; | |
<AE06> = 43; | |
<AE07> = 44; | |
<AE08> = 45; | |
<AE09> = 46; | |
<AE10> = 47; | |
<AE11> = 53; | |
<AE12> = 54; | |
<AE13> = 145; | |
<BKSP> = 50; | |
<TAB> = 51; | |
<AD01> = 28; | |
<AD02> = 34; | |
<AD03> = 16; | |
<AD04> = 29; | |
<AD05> = 31; | |
<AD06> = 36; | |
<AD07> = 32; | |
<AD08> = 20; | |
<AD09> = 26; | |
<AD10> = 27; | |
<AD11> = 55; | |
<AD12> = 56; | |
<RTRN> = 48; | |
<CAPS> = 65; | |
<AC01> = 12; | |
<AC02> = 30; | |
<AC03> = 15; | |
<AC04> = 17; | |
<AC05> = 18; | |
<AC06> = 19; | |
<AC07> = 21; | |
<AC08> = 22; | |
<AC09> = 23; | |
<AC10> = 59; | |
<AC11> = 60; | |
<AC12> = 58; | |
<LFSH> = 233; | |
<AB01> = 37; | |
<AB02> = 35; | |
<AB03> = 14; | |
<AB04> = 33; | |
<AB05> = 13; | |
<AB06> = 25; | |
<AB07> = 24; | |
<AB08> = 62; | |
<AB09> = 63; | |
<AB10> = 64; | |
<AB11> = 143; | |
<RTSH> = 237; | |
<LCTL> = 232; | |
<AA02> = 235; // S1 | |
<LALT> = 234; | |
<NFER> = 147; // Muhenkan | |
<SPCE> = 52; | |
<XFER> = 146; // Henkan | |
<HKTG> = 144; // Hiragana_Katakana toggle | |
<RALT> = 238; | |
<AA10> = 239; // S2 | |
<AA11> = 240; // S3 | |
<RCTL> = 236; | |
<ESC> = 49; | |
<FK01> = 66; | |
<FK02> = 67; | |
<FK03> = 68; | |
<FK04> = 69; | |
<FK05> = 70; | |
<FK06> = 71; | |
<FK07> = 72; | |
<FK08> = 73; | |
<FK09> = 74; | |
<FK10> = 75; | |
<FK11> = 76; | |
<FK12> = 77; | |
<PRSC> = 78; | |
<SCLK> = 79; | |
<PAUS> = 80; | |
<INS> = 81; | |
<HOME> = 82; | |
<PGUP> = 83; | |
<DELE> = 84; | |
<END> = 85; | |
<PGDN> = 86; | |
<UP> = 90; | |
<LEFT> = 88; | |
<DOWN> = 89; | |
<RGHT> = 87; | |
}; | |
xkb_keycodes "us" { // HKT-7620 | |
include "dreamcast(jp)" | |
<NMLK> = 91; | |
<KPDV> = 92; | |
<KPMU> = 93; | |
<KPSU> = 94; | |
<KP7> = 103; | |
<KP8> = 104; | |
<KP9> = 105; | |
<KPAD> = 95; | |
<KP4> = 100; | |
<KP5> = 101; | |
<KP6> = 102; | |
<KP1> = 97; | |
<KP2> = 98; | |
<KP3> = 99; | |
<KPEN> = 96; | |
<KP0> = 106; | |
<KPDL> = 107; | |
<KPEQ> = 134; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment