xkb-for-macos icon indicating copy to clipboard operation
xkb-for-macos copied to clipboard

No numpad with an USB PC keyboard

Open nicolas-albert opened this issue 2 years ago • 1 comments

What does the enhancement look like, and what's its purpose?

In desktop configuration, I use my MacBook with a USB PC keyboard (fr-azerty). I was used to set my keyboard with OSS on Linux or Windows, so I found this project. I have tested:

  • y-xkb-fr-oss.keylayout
  • y-xkb-fr-oss_Sundeadkeys.keylayout
  • y-xkb-fr-oss_latin9.keylayout
  • y-xkb-fr-oss_nodeadkeys.keylayout
  • y-xkb-ml-fr-oss.keylayout

I never got the numpad working.

I suggest to add numpad to all layouts.

What alternatives are there?

For now, I use the standard OSX FR-PC keyboard layout that handle the numpad.

Add anything else that is related and can be relevant. Go wild!

I someone know what should be added to the XML of .keylayout file, let me know ;)

nicolas-albert avatar Aug 10 '23 13:08 nicolas-albert

I added this:

      <key code="89" output="7" />
      <key code="91" output="8" />
      <key code="92" output="9" />
      <key code="86" output="4" />
      <key code="87" output="5" />
      <key code="88" output="6" />
      <key code="83" output="1" />
      <key code="84" output="2" />
      <key code="85" output="3" />
      <key code="82" output="0" />
      <key code="65" output="." />

Inside the <keyMap index="0"> and it's good.

nicolas-albert avatar Oct 16 '23 08:10 nicolas-albert