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

Add keyboard combinations like Ctrl+A/Z/X/C/V for russian layout

Open vort3 opened this issue 2 years ago • 4 comments

On any modern PC with Russian keyboard layout, letter «я» is the same key as the letter «z» in English. The list goes like this:

  • A — Ф
  • Z — Я
  • X — Ч
  • C — С (note that this is cyrillic «С», not English «C»)
  • V — М

Is it possible to make all Ctrl key combinations work with keys in Russian layout as if the layout was English, so pressing Ctrl + Ч would be the cut hotkey, same as Ctrl + X in English? Currently I have to switch to English layout every time I write something in Russian and want to copy/paste/cut/undo/select all, which is very annoying.

Maybe if it's an easy change to make myself I can help with that, but please point me in the right direction.

vort3 avatar Aug 19 '23 09:08 vort3

This can be implemented by adding more cases to this function: https://github.com/Julow/Unexpected-Keyboard/blob/master/srcs/juloo.keyboard2/KeyModifier.java#L387

A related issue is open: https://github.com/Julow/Unexpected-Keyboard/issues/109

Julow avatar Aug 19 '23 13:08 Julow