keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
398 stars 112 forks source link

[Developer] Detect Duplicate Characters in Keyboard Layouts #1075

Open MakaraSok opened 6 years ago

MakaraSok commented 6 years ago

When reviewing the keyboards, from time to time we encounter that some characters got included more than once. It would be helpful to have a notification of this behavior at build time so that the reviewer knows it without eyeballing through each keyboard layers.

Here is an example of the duplication on the same layer:

DavidLRowe commented 5 years ago

Such a check would be useful, but should probably not be a compiler warning (which is normally set to be considered an error for keyboards in the keymanapp/keyboards repository).

There are a number of keyboards that include (for example) period (full stop) plus a number of punctuation characters as long press options as a key on both default and shift layers.

I agree that it would be unusual to have the same character more than once on the same layer.