Used for the displayed keyboard buttons. See the default display options
export interface IDisplay {
[button: string]: string;
}
Used for the different layouts. The Keyboard support 4 different layout names:
- default => Displayed when none of the function buttons are clicked.
- shift => Displayed when caps or shift is clicked.
- alt => Displayed when alt is clicked. If layout name is not defined, it fall back to default layout.
- altShift => Displayed when alt and shift is clicked. If layout name is not defined, it fall back to default layout.
export interface ILayoutItem {
layout: { [layoutName: string]: string[] };
display?: IDisplay;
}
Used for the select dropdown options list. See the full option list
export interface ISelect {
name: string;
title: string;
}