Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Spanish Keyboard: BracketLeft is not populated in keymap #36

Open
@bryphe

Description

@bryphe

Hi there,

First off, thank you for this library! It was tremendously helpful in adding intl keyboard support for my project.

It's worked great in general, but I'm seeing a strange issue on Windows 10 with the Spanish keyboard (es-ES).

When I call getCurrentKeymap, it seems to be missing the BracketLeft key in this case:
image

This reproduces in both Electron (v1.7.7) and Node (v.7.2.1).

A minimal repro is as follows:

  • Create a new folder
  • Run npm install keyboard-layout
  • Run node for the node CLI
  • Run require("keyboard-layout").getCurrentKeymap()["BracketLeft"]

Expected: Should see an entry for this key binding.
Actual: No entry is shown, but BracketRight has a key map entry:

image

Thanks for your help.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions