Files
mediawiki-extensions-Univer…/lib/jquery.ime/rules/mul-click/mul-click-tilde.js
Amir E. Aharoni 3fe6ad6661 Update jquery.ime from upstream
jquery.ime:
* Add keyboards for Acholi (ach), Lango (laj),
  Pontic (pnt), and Click languages—initially Khoekhoe (naq),
  but more may be added in the future.

Change-Id: I38ce6f6f60f4069b20792e8e8cb8627b4a63144e
2024-10-03 11:59:36 +00:00

38 lines
1.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

( function ( $ ) {
'use strict';
var clickTilde = {
id: 'mul-click-tilde',
name: 'Click tilde',
description: 'Click input keyboard',
date: '2024-09-24',
URL: 'https://github.com/wikimedia/jquery.ime',
author: 'Amir E. Aharoni',
license: 'GPLv3',
version: '1.0',
patterns: [
// Typing based on shape
[ '~o', 'ʘ' ], // U+0298: Bilabial click
[ '~1', 'ǀ' ], // U+01C0: Dental click (tilde + 1 => not a pipe)
[ 'ǀ1', 'ǁ' ], // U+01C1: Lateral click (not a pipe + 1 => double pipe)
[ '~=', 'ǂ' ], // U+01C2: Alveolar click
[ '~#', 'ǂ' ], // U+01C2: Alveolar click
[ '~!', 'ǃ' ], // U+01C3: Retroflex click (tilde + exclamation point => not an exclamation point)
[ '~,', '𝼊' ], // U+1DF0A: Retroflex click with retroflex hook
// Typing based on Zulu and Xhosa orthography
[ '~c', 'ǀ' ], // U+01C0: Dental click (not a pipe!)
[ '~x', 'ǁ' ], // U+01C1: Lateral click
[ '~q', 'ǃ' ], // U+01C3: Retroflex click (not an exclamation point!)
[ '~\\\\', '\u0300' ], // Combining grave
[ '~/', '\u0301' ], // Combining acute
[ '~\\^', '\u0302' ], // Combining circumflex
[ '~\\{', '\u0303' ], // Combining tilde
[ '~-', '\u0304' ] // Combining macron
]
};
$.ime.register( clickTilde );
}( jQuery ) );