Jump to content

Input methods: Difference between revisions

2,495 bytes removed ,  20:55, 4 November 2023
Link to Compose key
(→‎Desktop computers: link stenography, update compose key)
(Link to Compose key)
Line 3: Line 3:
== Desktop computers ==
== Desktop computers ==
=== Compose key ===
=== Compose key ===
You can set up a [https://en.wikipedia.org/wiki/Compose_key compose key] on your computer, which will change the behavior of one of the keys on your keyboard to "compose" the next two keypresses into one character — for example {{Key|CapsLock}} {{Key|'}} {{Key|a}} becomes {{t|á}}.
You can set up a [https://en.wikipedia.org/wiki/Compose_key compose key] on your computer, which will change the behavior of one of the keys on your keyboard to "compose" the next two keypresses into one character — for example {{Key|CapsLock}} {{Key|'}} {{Key|a}} becomes {{t|á}}. See [[Compose key]] for more information.
 
On Linux, this might not even involve installing anything! Look for "compose key" plus your distro name. On Windows, [https://wincompose.info/ WinCompose] is pretty good.
 
Here's how to type Toaq-specific characters in the default ruleset. {{Key|Compose}} means whatever key you have picked as your compose key (probably {{Key|CapsLock}} or {{Key|AltGr}}).
 
{| class="wikitable"
! Character || Combo
|-
| {{Done|2}} || {{Key|Compose}} {{Key|'}} {{Key|vowel}}
|-
| {{Done|3}} || {{Key|Compose}} {{Key|"}} {{Key|vowel}}
|-
| {{Done|4}} || {{Key|Compose}} {{Key|^}} {{Key|vowel}}
|-
| dotless i ({{t|ı}}) || {{Key|Compose}} {{Key|.}} {{Key|i}}
|-
| left quote ({{t|«}}) || {{Key|Compose}} {{Key|<}} {{Key|<}}
|-
| right quote ({{t|»}}) || {{Key|Compose}} {{Key|>}} {{Key|>}}
|}
 
Then there are these supplemental definitions. WinCompose provides them by default; on Linux you’re going to have to add them yourself one-by-one or by sourcing [https://github.com/kragen/xcompose]. That said you might not find them very convenient to type.
 
{| class="wikitable"
! Character || Combo
|-
| {{VY}} || {{Key|Compose}} {{Key|V}} {{Key|&}} {{Key|Y}}
|-
| {{vy}} || {{Key|Compose}} {{Key|v}} {{Key|&}} {{Key|y}}
|-
| combining underdot (like in {{t|ı̣}}) || {{Key|Compose}} {{Key|\}} {{Key|!}}
|-
| "proper" {{t|ạ́}} || {{Key|Compose}} {{Key|!}} {{Key|a}} {{Key|Compose}} {{Key|\}} {{Key|'}}
|}
 
You can edit <code>~/.XCompose</code> and add your own combos as follows. If using WinCompose, the file is at <code>C:\Users\yourname\.XCompose</code>.
 
<pre style="height:200px">
<Multi_key> <v> <y> : "ꝡ"
<Multi_key> <V> <Y> : "Ꝡ"
<Multi_key> <2> <a> : "ạ́"
<Multi_key> <2> <e> : "ẹ́"
<Multi_key> <2> <i> : "ị́"
<Multi_key> <2> <o> : "ọ́"
<Multi_key> <2> <u> : "ụ́"
<Multi_key> <3> <a> : "ạ̈"
<Multi_key> <3> <e> : "ẹ̈"
<Multi_key> <3> <i> : "ị̈"
<Multi_key> <3> <o> : "ọ̈"
<Multi_key> <3> <u> : "ụ̈"
<Multi_key> <4> <a> : "ậ"
<Multi_key> <4> <e> : "ệ"
<Multi_key> <4> <i> : "ị̂"
<Multi_key> <4> <o> : "ộ"
<Multi_key> <4> <u> : "ụ̂"
<Multi_key> <2> <A> : "Ạ́"
<Multi_key> <2> <E> : "Ẹ́"
<Multi_key> <2> <I> : "Ị́"
<Multi_key> <2> <O> : "Ọ́"
<Multi_key> <2> <U> : "Ụ́"
<Multi_key> <3> <A> : "Ạ̈"
<Multi_key> <3> <E> : "Ẹ̈"
<Multi_key> <3> <I> : "Ị̈"
<Multi_key> <3> <O> : "Ọ̈"
<Multi_key> <3> <U> : "Ụ̈"
<Multi_key> <4> <A> : "Ậ"
<Multi_key> <4> <E> : "Ệ"
<Multi_key> <4> <I> : "Ị̂"
<Multi_key> <4> <O> : "Ộ"
<Multi_key> <4> <U> : "Ụ̂"
</pre>


=== Kaıchuo ===
=== Kaıchuo ===