diff --git a/examples/two-keyboards-different-layouts/arabic.conf b/examples/two-keyboards-different-layouts/arabic.conf new file mode 100644 index 0000000..f0d6b01 --- /dev/null +++ b/examples/two-keyboards-different-layouts/arabic.conf @@ -0,0 +1,45 @@ +# See catalan.conf. +# +# This is the configuration for the Arabic keyboard. +[ids] +0001:0001 + +# Include the layout "ara": Arabic. +include layouts/ara + +# Any adjustments you may want to make to layout "ara" to match your keyboard go here ... + +# I still want keyboard shortcuts for common menu items, like Ctrl+C for "Copy". +# I still want to use the same key, even though that key is now ؤ not C. (It has C and ؤ printed on it.) +# So this maps physical keys back to Latin letters when Control is held. +[ara+control] +a = C-a +b = C-b +c = C-c +d = C-d +e = C-e +f = C-f +g = C-g +h = C-h +i = C-i +j = C-j +k = C-k +l = C-l +m = C-m +n = C-n +o = C-o +p = C-p +q = C-q +r = C-r +s = C-s +t = C-t +u = C-u +v = C-v +w = C-w +x = C-x +y = C-y +z = C-z + +# For this identified keyboard, use the layout "ara". +[global] +default_layout = ara \ No newline at end of file diff --git a/examples/two-keyboards-different-layouts/catalan.conf b/examples/two-keyboards-different-layouts/catalan.conf new file mode 100644 index 0000000..9676e18 --- /dev/null +++ b/examples/two-keyboards-different-layouts/catalan.conf @@ -0,0 +1,26 @@ +# Aim: connect two physical keyboards with different layouts to the computer at the same time, +# for example a Catalan and an Arabic keyboard. +# The user can type on both keyboards without having to switch layout in the OS UI. +# The OS must use "English (US, intl, with dead keys)", with dead keys. +# +# The example here is: +# "Apple, Inc Apple Keyboard" with identifier "05ac:0221" and layout "Catalan (Spain, with middle-dot L)" and +# "AT Translated Set 2 keyboard" with identifier "0001:0001" and layout "Arabic (Syria)". +# My OS is Ubuntu 25.10. +# +# In Ubuntu 25.10, you must choose "English (US, intl, with dead keys)". +# (It doesn't matter whether there are others in list as long as they are not selected.) +# +# +# This is the configuration for the Catalan keyboard. +[ids] +05ac:0221 + +# Include the layout "es": Spanish (which is the Catalan variant). +include layouts/es + +# Any adjustments you may want to make to layout "es" to match your keyboard go here ... + +# For this identified keyboard, use the layout "es". +[global] +default_layout = es \ No newline at end of file