Unexpected-Keyboard icon indicating copy to clipboard operation
Unexpected-Keyboard copied to clipboard

Add custom alt combinations for layouts

Open Harry-Ais0 opened this issue 5 months ago • 14 comments

I cant do custom alt layouts for my layouts, because i want it so alt+a on one or more of my custom layouts to be ə. And alt+c to be ɔ, alt+d to be ð and alt+d+, to make ɖ. all issues about this have potentially been fixed, all issues, and on custom layouts, you can choose any amout of alt Combinations to make a character and a custom Crtl+ to copy and a custom Crtl+ to paste.

Harry-Ais0 avatar Jul 18 '25 15:07 Harry-Ais0

i have the app, and i have about over 60 layouts (a lot of you would probably call me crazy, i have these layouts for typing characters) does this app have an unlimited amout of layouts you can make? If so then i can just type a lot of characters (old English letters: ƿȝŋðþæœ)

Harry-Ais0 avatar Jul 18 '25 15:07 Harry-Ais0

...anyone going to... answer me?

Harry-Ais0 avatar Jul 19 '25 06:07 Harry-Ais0

... (Loading...?)

Harry-Ais0 avatar Jul 19 '25 06:07 Harry-Ais0

Arabic Alternative: بديل+أ=ٱ English: Alt+A=ª

Harry-Ais0 avatar Jul 19 '25 07:07 Harry-Ais0

Hi! The Alt modifier is intended to send the "Alt" key modifier to remote desktop and terminal apps. The Fn modifier is the one intended for your usecase. You can define it like this in your layouts:

<keyboard ...>
  <modmap>
    <fn a="a" b="ə" />
  </modmap>
  ...
</keyboard>

However, this might not be the best in your case as the Fn layer already contains plenty of combinations. For example Fn+a is already æ.

It seems that you want a second Fn that you can fully configure.

You can already set modmaps for the ctrl modifier but because it's not intended for this usecase as well, you might get weird results with some letters.

Julow avatar Jul 19 '25 15:07 Julow

Like, so "Fn a="a" makes it so FN on a makes it "a"?

On Sat, 19 Jul 2025, 16:12 Jules Aguillon, @.***> wrote:

Julow left a comment (Julow/Unexpected-Keyboard#1050) https://github.com/Julow/Unexpected-Keyboard/issues/1050#issuecomment-3092402211

Hi! The Alt modifier is intended to send the "Alt" key modifier to remote desktop and terminal apps. The Fn modifier is the one intended for your usecase. You can define it like this in your layouts:

<keyboard ...> ...

However, this might not be the best in your case as the Fn layer already contains plenty of combinations. For example Fn+a is already æ.

It seems that you want a second Fn that you can fully configure.

You can already set modmaps for the ctrl modifier but because it's not intended for this usecase as well, you might get weird results with some letters.

— Reply to this email directly, view it on GitHub https://github.com/Julow/Unexpected-Keyboard/issues/1050#issuecomment-3092402211, or unsubscribe https://github.com/notifications/unsubscribe-auth/BU2RGTIKZE3K5NSBYONCGV33JJN6HAVCNFSM6AAAAACB3AXBYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAOJSGQYDEMRRGE . You are receiving this because you modified the open/close state.Message ID: @.***>

Harry-Ais0 avatar Jul 19 '25 17:07 Harry-Ais0

Im using mobile, ITS NOT WORKING!!!! (Sorry im mad...)

On Sat, 19 Jul 2025, 18:58 Harry Brand, @.***> wrote:

Like, so "Fn a="a" makes it so FN on a makes it "a"?

On Sat, 19 Jul 2025, 16:12 Jules Aguillon, @.***> wrote:

Julow left a comment (Julow/Unexpected-Keyboard#1050) https://github.com/Julow/Unexpected-Keyboard/issues/1050#issuecomment-3092402211

Hi! The Alt modifier is intended to send the "Alt" key modifier to remote desktop and terminal apps. The Fn modifier is the one intended for your usecase. You can define it like this in your layouts:

<keyboard ...> ...

However, this might not be the best in your case as the Fn layer already contains plenty of combinations. For example Fn+a is already æ.

It seems that you want a second Fn that you can fully configure.

You can already set modmaps for the ctrl modifier but because it's not intended for this usecase as well, you might get weird results with some letters.

— Reply to this email directly, view it on GitHub https://github.com/Julow/Unexpected-Keyboard/issues/1050#issuecomment-3092402211, or unsubscribe https://github.com/notifications/unsubscribe-auth/BU2RGTIKZE3K5NSBYONCGV33JJN6HAVCNFSM6AAAAACB3AXBYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAOJSGQYDEMRRGE . You are receiving this because you modified the open/close state.Message ID: @.***>

Harry-Ais0 avatar Jul 19 '25 18:07 Harry-Ais0

Modmap for alt?

On Sat, 19 Jul 2025, 19:26 Harry Brand, @.***> wrote:

Im using mobile, ITS NOT WORKING!!!! (Sorry im mad...)

On Sat, 19 Jul 2025, 18:58 Harry Brand, @.***> wrote:

Like, so "Fn a="a" makes it so FN on a makes it "a"?

On Sat, 19 Jul 2025, 16:12 Jules Aguillon, @.***> wrote:

Julow left a comment (Julow/Unexpected-Keyboard#1050) https://github.com/Julow/Unexpected-Keyboard/issues/1050#issuecomment-3092402211

Hi! The Alt modifier is intended to send the "Alt" key modifier to remote desktop and terminal apps. The Fn modifier is the one intended for your usecase. You can define it like this in your layouts:

<keyboard ...> ...

However, this might not be the best in your case as the Fn layer already contains plenty of combinations. For example Fn+a is already æ.

It seems that you want a second Fn that you can fully configure.

You can already set modmaps for the ctrl modifier but because it's not intended for this usecase as well, you might get weird results with some letters.

— Reply to this email directly, view it on GitHub https://github.com/Julow/Unexpected-Keyboard/issues/1050#issuecomment-3092402211, or unsubscribe https://github.com/notifications/unsubscribe-auth/BU2RGTIKZE3K5NSBYONCGV33JJN6HAVCNFSM6AAAAACB3AXBYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAOJSGQYDEMRRGE . You are receiving this because you modified the open/close state.Message ID: @.***>

Harry-Ais0 avatar Jul 19 '25 18:07 Harry-Ais0

An other example is:

  <modmap>
    <fn a="c" b="ɔ" />
  </modmap>

Insert this before the first <row>.

When you press fn, c becomes ɔ.

Julow avatar Jul 19 '25 20:07 Julow

a goes to æ b → ₱ c → ¢ e → € h → ₴ l → £ o →œ p → ₽ r → ₹ R → ₨ u → µ y → ¥ z → ₿

On Sat, 19 Jul 2025, 21:12 Jules Aguillon, @.***> wrote:

Julow left a comment (Julow/Unexpected-Keyboard#1050) https://github.com/Julow/Unexpected-Keyboard/issues/1050#issuecomment-3092549208

An other example is:

Insert this before the first .

When you press fn, c becomes ɔ.

— Reply to this email directly, view it on GitHub https://github.com/Julow/Unexpected-Keyboard/issues/1050#issuecomment-3092549208, or unsubscribe https://github.com/notifications/unsubscribe-auth/BU2RGTPSDJVJIIQFDMA456T3JKRB3AVCNFSM6AAAAACB3AXBYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAOJSGU2DSMRQHA . You are receiving this because you modified the open/close state.Message ID: @.***>

Harry-Ais0 avatar Jul 20 '25 06:07 Harry-Ais0

Have you tried adding the <modmap> I showed above in your custom layout ?

Julow avatar Jul 20 '25 14:07 Julow

(this will include ı and i, where a short i is ı, it will use ə for the long e. The capital ı is I, and the capital i is İ.) Whats The Code Used For The Turkish Layouts? İ Wonder Why, and whats the code for the layouts for the Layout of the Turkish Azerbaijanə. İt goes in thıs: Q Ü E R T Y U İ O P Ö. A S D F G H { K L I Ə. Z X C V B N M Ş, Extras: W Ğ Ç ₼. But how does the capital i make İ and capital ı make I?

Harry-Ais0 avatar Jul 21 '25 17:07 Harry-Ais0

I am confused.

On Mon, 21 Jul 2025, 18:31 Harry Brand, @.***> wrote:

(this will include ı and i, where a short i is ı, it will use ə for the long e. The capital ı is I, and the capital i is İ.) Whats The Code Used For The Turkish Layouts? İ Wonder Why, and whats the code for the layouts for the Layout of the Turkish Azerbaijanə. İt goes in thıs: Q Ü E R T Y U İ O P Ö. A S D F G H { K L I Ə. Z X C V B N M Ş, Extras: W Ğ Ç ₼. But how does the capital i make İ and capital ı make I?

Harry-Ais0 avatar Jul 21 '25 17:07 Harry-Ais0

Are you talking about the Turkish I because you read it here ? It's an example for the shift modmap but I think you need to modify the fn modmap instead. Have a look at this comment.

Julow avatar Jul 22 '25 20:07 Julow