Do not remove numpad keys from the layout

This removes keys like '.' and '-' from their usual place, which is
pretty annoying.

The feature is retained for the number row.
This commit is contained in:
Jules Aguillon 2023-03-02 10:56:33 +01:00
parent 70754aa3eb
commit 0da02d60c4

View File

@ -182,8 +182,6 @@ final class Config
extra_keys.addAll(extra_keys_subtype); extra_keys.addAll(extra_keys_subtype);
extra_keys.addAll(extra_keys_param); extra_keys.addAll(extra_keys_param);
boolean number_row = this.number_row && !show_numpad; boolean number_row = this.number_row && !show_numpad;
if (show_numpad)
KeyboardData.num_pad.getKeys(remove_keys);
if (number_row) if (number_row)
KeyboardData.number_row.getKeys(remove_keys); KeyboardData.number_row.getKeys(remove_keys);
kw = kw.mapKeys(new KeyboardData.MapKeyValues() { kw = kw.mapKeys(new KeyboardData.MapKeyValues() {