<feed xmlns='http://www.w3.org/2005/Atom'>
<title>unexpected-keyboard/srcs/juloo.keyboard2/Autocapitalisation.java, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/'/>
<entry>
<title>Disable selection mode in text editors (#1141)</title>
<updated>2025-12-18T18:15:32+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2025-12-18T18:15:32+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=41777fdda61715a59be241f0be9a8e3385222888'/>
<id>41777fdda61715a59be241f0be9a8e3385222888</id>
<content type='text'>
* Disable selection mode in text editors

Selection mode removes the space bar key (which is replaced by the Esc
key) and can be annoying in Emacs for example.
Text editor users probably have the `esc` key available.

* Refactor: Move EditorInfo related code to EditorConfig

Add the new EditorConfig class that handles configuration extracted from
the EditorInfo. It is accessible from the Config class for convenience.

This aims at reducing the length of already large classes and group the
code that was spread over several classes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Disable selection mode in text editors

Selection mode removes the space bar key (which is replaced by the Esc
key) and can be annoying in Emacs for example.
Text editor users probably have the `esc` key available.

* Refactor: Move EditorInfo related code to EditorConfig

Add the new EditorConfig class that handles configuration extracted from
the EditorInfo. It is accessible from the Config class for convenience.

This aims at reducing the length of already large classes and group the
code that was spread over several classes.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix autocapitalisation flicker (#1047)</title>
<updated>2025-07-19T15:50:27+00:00</updated>
<author>
<name>JeelsBoobz</name>
</author>
<published>2025-07-19T15:50:27+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=c4a1e2e66475fbed6bc40e6e44732e9ccdb6ad5a'/>
<id>c4a1e2e66475fbed6bc40e6e44732e9ccdb6ad5a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a delay after a Keyevent key in a macro  (#918)</title>
<updated>2025-03-10T22:41:51+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2025-03-10T22:41:51+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=9cfeb0f0c22dd649fcf32260925a5a84a731d1b3'/>
<id>9cfeb0f0c22dd649fcf32260925a5a84a731d1b3</id>
<content type='text'>
* Construct a single handler

* Add a delay after a Keyevent key in a macro

Add a delay before sending the next key to avoid race conditions causing
keys to be handled in the wrong order. Notably, KeyEvent keys handling
is scheduled differently than the other edit functions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Construct a single handler

* Add a delay after a Keyevent key in a macro

Add a delay before sending the next key to avoid race conditions causing
keys to be handled in the wrong order. Notably, KeyEvent keys handling
is scheduled differently than the other edit functions.</pre>
</div>
</content>
</entry>
<entry>
<title>Macro keys (#878)</title>
<updated>2025-02-23T11:12:29+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2025-02-23T11:12:29+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=68be82a4f92f47300b9960cf9cf65040c96f17ed'/>
<id>68be82a4f92f47300b9960cf9cf65040c96f17ed</id>
<content type='text'>
Add "macro" keys that behave as if a sequence of keys is typed.

Macro can be added to custom layouts or through the "Add keys to the
keyboard option". The syntax is:

    symbol:key1,key2,..

The symbol cannot contain a : character. 'key1', 'key2', etc.. are:

  - 'String with \' escaping'
    The key will generate the specified string.
  - keyevent:123
    The key will send a keyevent.
  - The name of any special key
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add "macro" keys that behave as if a sequence of keys is typed.

Macro can be added to custom layouts or through the "Add keys to the
keyboard option". The syntax is:

    symbol:key1,key2,..

The symbol cannot contain a : character. 'key1', 'key2', etc.. are:

  - 'String with \' escaping'
    The key will generate the specified string.
  - keyevent:123
    The key will send a keyevent.
  - The name of any special key
</pre>
</div>
</content>
</entry>
<entry>
<title>Update autocapitalisation on Enter</title>
<updated>2024-09-10T19:53:52+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2024-09-10T19:53:52+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=c886a89b1188d32013dbad0622bb14c0fcf997cc'/>
<id>c886a89b1188d32013dbad0622bb14c0fcf997cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor: New namespace for preference classes</title>
<updated>2024-01-13T19:59:05+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2024-01-13T19:59:05+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=eddf9c6c117449012e2aece5776694467e3483f0'/>
<id>eddf9c6c117449012e2aece5776694467e3483f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update auto-capitalisation state when input starts</title>
<updated>2023-09-09T12:15:44+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2023-09-09T12:15:44+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=92a8db5e9374082000f9c79becd09661bea84dd9'/>
<id>92a8db5e9374082000f9c79becd09661bea84dd9</id>
<content type='text'>
The initial capitalisation state given by the editor
(`info.initialCapsMode`) is always 0 in many editors.

For some text input types, update the state when typing starts,
disregarding the value given by `info.initialCapsMode`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The initial capitalisation state given by the editor
(`info.initialCapsMode`) is always 0 in many editors.

For some text input types, update the state when typing starts,
disregarding the value given by `info.initialCapsMode`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable automatically Shift when pressing Ctrl</title>
<updated>2023-08-26T21:37:22+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2023-08-26T21:37:22+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=f4c11d99ed589c53229bf70d31ff71b8ac3e3ef1'/>
<id>f4c11d99ed589c53229bf70d31ff71b8ac3e3ef1</id>
<content type='text'>
Automatic capitalisation might interferes with keyboard shortcuts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automatic capitalisation might interferes with keyboard shortcuts.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor: Move editing code from to KeyEventHandler</title>
<updated>2022-11-13T15:28:39+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2022-11-13T15:18:08+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=078dbcd5ff7f0828f48d66d866ea49d3eb14cc6a'/>
<id>078dbcd5ff7f0828f48d66d866ea49d3eb14cc6a</id>
<content type='text'>
Remove the code dealing with InputMethodConnection from 'Keyboard2' and
move it into 'KeyEventHandler', where more editing actions can now be
implemented.

Autocapitalisation is also moved, the IReceiver interface is simplified.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the code dealing with InputMethodConnection from 'Keyboard2' and
move it into 'KeyEventHandler', where more editing actions can now be
implemented.

Autocapitalisation is also moved, the IReceiver interface is simplified.
</pre>
</div>
</content>
</entry>
<entry>
<title>Autocapitalisation: Avoid trigerring when Ctrl+Del</title>
<updated>2022-10-16T20:34:21+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2022-10-16T20:34:21+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=f56b9268578addff02d7feeb905d961b170dc860'/>
<id>f56b9268578addff02d7feeb905d961b170dc860</id>
<content type='text'>
Autocapitalisation could trigger while repeatedly typing Ctrl+Del to
remove several words.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Autocapitalisation could trigger while repeatedly typing Ctrl+Del to
remove several words.
</pre>
</div>
</content>
</entry>
</feed>
