mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-06-21 02:09:09 +02:00
Consistent layout for optional numpad
Modify the optional right hand numpad the same way as the numeric layout.
This commit is contained in:
parent
86038ef512
commit
b079e5cf43
@ -242,7 +242,7 @@ final class Config
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (show_numpad)
|
if (show_numpad)
|
||||||
kw = kw.addNumPad();
|
kw = kw.addNumPad(modify_numpad(KeyboardData.num_pad));
|
||||||
if (number_row)
|
if (number_row)
|
||||||
kw = kw.addNumberRow();
|
kw = kw.addNumberRow();
|
||||||
if (extra_keys.size() > 0)
|
if (extra_keys.size() > 0)
|
||||||
|
@ -54,7 +54,7 @@ class KeyboardData
|
|||||||
return new KeyboardData(rows, keysWidth, modmap, script);
|
return new KeyboardData(rows, keysWidth, modmap, script);
|
||||||
}
|
}
|
||||||
|
|
||||||
public KeyboardData addNumPad()
|
public KeyboardData addNumPad(KeyboardData num_pad)
|
||||||
{
|
{
|
||||||
ArrayList<Row> extendedRows = new ArrayList<Row>();
|
ArrayList<Row> extendedRows = new ArrayList<Row>();
|
||||||
Iterator<Row> iterNumPadRows = num_pad.rows.iterator();
|
Iterator<Row> iterNumPadRows = num_pad.rows.iterator();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user