summaryrefslogtreecommitdiff
path: root/geometry
Commit message (Collapse)AuthorAgeFilesLines
* Always generate same symbols for Lang1 and Lang2Akihiko Odaki2022-03-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change came up after discussions in: https://github.com/google/mozc/issues/552 This change is not complex, but it has somewhat complex background. The following discussion describes it extensively. 1. Six keys somewhat related or unrelated This change involves six keys: ImeOn, ImeOff, Hangul Latin toggle, Hangul to Hanja conversion, Eisu toggle / Caps Lock and Katakana / Hiragana / Romaji. ImeOn is the name used by Microsoft. Apple calls it "Kana switch". ImeOff is the name used by Microsoft. Apple calls it "alphanumeric". Hangul Latin toggle is the name used in keycodes directory. Apple calls it "Hangul/English toggle". Hangul to Hanja conversion is the name used in keycodes directory. Apple calls it "Hanja conversion". ImeOn and Hangul Latin toggle are mapped to Lang1 in USB HID usage and physically located right to space key. ImeOff and Hangul to Hanja conversion are mapped to Lang2 in USB HID usage and physically located left to space key. Eisu toggle / Caps Lock and Katakana / Hiragana / Romaji has key top prints somewhat similar to ImeOff (which says "Eisu") and ImeOn (which says "Kana"), but they have different semantics for Japanese IMEs like macOS Japanese Input Method, Microsoft Japanese IME, and Mozc have two distinct states: IME ON/OFF state and input character type. Eisu_toggle and Hiragana_Katakana are used to toggle the input character type where ImeOn and ImeOff keys are used to IME ON/OFF state. Their physical positions are also different. Eisu toggle / Caps Lock are located where Caps Lock usually sits on a conventional IBM PC keyboard. The position of Hiragana / Katakana / Romaji are described in Microsoft's documentation shown later. The following pages describe the keys listed above: https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/keyboard-japan-ime https://developer.apple.com/documentation/uikit/uikeyboardhidusage/uikeyboardhidusagekeyboardlang1 https://developer.apple.com/documentation/uikit/uikeyboardhidusage/uikeyboardhidusagekeyboardlang2 2. Messy situation before this change The following key codes were defined for xfree86: <EISU> = 210; <KANA> = 209; alias <HNGL> = <FK16>; alias <HJCV> = <FK17>; They used to represent ImeOff, ImeOn, Hangul Latin toggle, and Hangul to Hanja conversion, respectively. However, apparently HNGL and HJCV were incorrect. The following commits of xf86-input-keyboard suggest they are actually mapped to 209 and 210: 425c1280439fe37497a33c47b5a8432e59cbfb76 ccf63a61f39e1f107a67c33d6a7ad24ea4c76b7e evdev only has HNGL and HJCV, and they also represent ImeOn and ImeOff, respectively. EISU, KANA, HNGL, HNGL, and HJCV were then used to generate the following symbols respectively: Eisu_toggle, Hiragana_Katakana, Hangul, and Hangul_Hanja. Generating Eisu_toggle for ImeOff and Hiragana_Katakana for ImeOn were semantically incorrect as they rather provide the functionality of Eisu toggle / Caps Lock and Hiragana / Katakana / Romaji. 3. Solution This change solves the situation by always defining HNGL and HJCV key codes and generating Hangul for Lang1 keys and Hangul_Hanja for Lang2 keys. In this way, Japanese and Korean IMEs can know keys they need to toggle IME states. Japanese IMEs can also distinguish ImeOn and ImeOff from Eisu toggle / Caps Lock and Hiragana Katakana / Romaji. This change lets Hangul and Hangul_Hanja symbols overload semantics of Japanese and Korean IMEs. This is based on the following rationales: * evdev always emitted Hangul and Hangul_Hanja symbols before this change and therefore it would be least disruptive. * The key pairs are physically located in the same positions so users would expect them to perform interchangeably when switching Japanese and Korean IMEs. * Distinguishing from key codes is not possible anyway because the underlying hardware complies USB HID Usage Table, which do not distinguish those keys.
* Drop autotoolsPeter Hutterer2021-12-171-21/+0
| | | | | | Even the xserver is now meson only and building a desktop stack without meson is not possible anymore. So let's drop autotools for meson, which is much easier to maintain.
* geometry: merge the digital_vndr and sgi_vndr subdirs into the main dirPeter Hutterer2020-06-023-10/+12
| | | | | | They're just straight installs. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Indent the various dist_foo_DATA for better visual alignmentsPeter Hutterer2020-06-021-6/+6
| | | | | | No functional changes Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Use dist_foo_DATA to remove the need for EXTRA_DISTPeter Hutterer2020-06-021-3/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Synchronize the PC descriptionsJ William Piggott2020-03-311-6/+6
| | | | | | | Synchronize the PC 'description' entries between rules/base.xml and geometry/pc. Signed-off-by: J William Piggott <elseifthen@gmx.com>
* geometry/pc: remove dead codeJ William Piggott2020-03-221-383/+0
| | | | | | | | | | | | | commit 91da938a16b4dc29df62fa3794d2d046daa2edbe Author: Sergey V. Udaltsov <svu@gnome.org> Date: Thu Feb 26 23:32:28 2009 +0000 Dropping national-specific models abnt2, jp106, kr106. The corresponding geometries are left in the codebase, for some while Eleven years seems like 'some while'. Signed-off-by: J William Piggott <elseifthen@gmx.com>
* Remove unreachable pc(latitude) geometryJ William Piggott2020-03-221-184/+0
| | | | | | | | | | | In 2006 commit bf24472 added a Dell Latitude geometry to geometry/pc(latitude) In 2009 commit 9914765 superseded it by adding geometry/dell(latitude); making the original unreachable, but it was never removed. Signed-off-by: J William Piggott <elseifthen@gmx.com>
* rules: add pc104alt & pc86 ruleJ William Piggott2020-03-221-1/+1
| | | | | | | | | pc104alt was added in 6f5f166 pc86 was added in 9bbda6b However, neither commit added a rule so that they could be used. Signed-off-by: J William Piggott <elseifthen@gmx.com>
* steelseries apex300 geometrykalyke by jove2017-05-172-1/+224
|
* Descriptions formatting, typos and mistakes v2Nik Kopylov2017-05-016-13/+13
|
* added missing Teck fileSergey Udaltsov2015-09-291-0/+627
|
* Added Teck keyboardSergey Udaltsov2015-09-291-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=90960
* geometries: Correcting three, and removing two wrong comments.Benno Schulenberg2013-09-059-67/+49
| | | | | | | Also removing several superfluous comments, and adjusting some indentation, grammar and spelling. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* Update keycodes and geometry for Sun Keyboardsjavier2013-01-151-2304/+15
| | | | | | Remove support for old Sun Type_4/5 keyboards and update data for Sun Type_6/7 Keyboards as described in Bug 57450 - XKB data specific for Sun Keyboards is outdated.
* Remove *.dir generationDaniel Stone2012-08-291-4/+2
| | | | | | | | | | It's only used by the X server's ListComponents call, which I intend to stub out shortly. (For bonus points, that call will fork xkbcomp to generate the necessary listings itself if it can't find the *.dir files.) Signed-off-by: Daniel Stone <daniel@fooishbar.org>
* Remove RCS tagsAlexandr Shadchin2011-02-1926-56/+1
| | | | Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
* Added sanwa kbd model, jp(kana86) variantSergey V. Udaltsov2010-11-132-1/+152
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=31340
* updated geometry description of model "pc102"Sergey V. Udaltsov2010-09-011-8/+9
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=29937
* Updated pc105 geometrySergey V. Udaltsov2010-05-061-4/+7
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=26945
* xkeyboard-config: Geometries for Apple Aluminium KeyboardsDamien Ciabrini2010-02-191-0/+877
| | | | | | | | | Geometries for the long, wired Aluminium Keyboard: . ANSI model (United States, 109 keys) . ISO model (International, 110 keys) . JIS model (Japanese, 112 keys) Signed-off-by: Damien Ciabrini <damien.ciabrini@gmail.com>
* Update Sun license notices to current X.Org standard formAlan Coopersmith2010-01-171-23/+17
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Geometry for HP Pavilion dv5.Octavio Alvarez2009-12-301-0/+140
|
* Enable Maemo keyboards.Tomas Hanak2009-12-112-1/+54
| | | | | Signed-off-by: Tomas Hanak <ext-tomas.3.hanak@nokia.com> Signed-off-by: Rami Ylimaki <ext-rami.ylimaki@nokia.com>
* using one file for all hp geometries,Sergey V. Udaltsov2009-11-192-127/+106
| | | | http://bugs.freedesktop.org/show_bug.cgi?id=25178
* New geometry: HP Mini 110 netbook.Octavio Alvarez2009-11-191-0/+127
|
* Remove unused .cvsignore file #23776Gaetan Nadon2009-09-083-7/+0
| | | | | | CVS is no longer used for X.Org modules Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Added TypeMatrix geometriesSergey V. Udaltsov2009-08-042-1/+746
| | | | http://bugs.freedesktop.org/show_bug.cgi?id=23136
* Added latitude geometry, b.fd.o#19750Sergey V. Udaltsov2009-01-281-1/+104
|
* another pc geometry, L-shaped Enter, b.fd.o#17513Sergey V. Udaltsov2008-09-121-0/+165
|
* improving build processSergey V. Udaltsov2008-08-061-0/+2
|
* removed unneeded space, b.fd.o#16258Sergey V. Udaltsov2008-06-061-42/+42
|
* adding thinkpad60 model, with geometry. b.fd.o#13954svu2008-01-071-0/+204
|
* added some br and pt layouts, b.fd.o#12816svu2007-10-181-118/+14
|
* added ms elite geometry, b.fd.o#12753svu2007-10-091-0/+281
|
* Dell Precision M65, b.fd.o#7992svu2007-09-051-0/+359
|
* licensed under mit/x11svu2007-07-111-6/+15
|
* hhk geometry, b.fd.o#11519svu2007-07-102-1/+260
|
* returning AE00 since it is aliasedsvu2007-04-271-1/+1
|
* s/AE00/TLDE/, b.g.o#429907svu2007-04-271-1/+1
|
* fixing abnt2 geometry, b.fd.o#10725svu2007-04-231-2/+2
|
* fixing thinkpad geometry, b.fd.o#8419svu2006-09-281-2/+2
|
* no more old pc symbols, b.fd.o#8321svu2006-09-181-1/+1
|
* getting rid of geometry/ibm_vndr, b.fd.o#7990svu2006-09-054-8/+2
|
* macbook pro stuffsvu2006-08-311-0/+239
|
* Added Dell Lattitude, b.fd.o#6894svu2006-06-251-0/+185
|
* updated Korean, b.fd.o#7316svu2006-06-251-0/+161
|
* fixed mac geometry, b.fd.o#4714svu2006-04-081-2/+159
|
* huge update from Sunsvu2006-02-261-27/+1744
|
* fixed b.fd.o#5568svu2006-01-101-1/+1
|