/usr/share/X11/xkb/geometry
Edit: /usr/share/X11/xkb/geometry/chicony (4540B)
// -*- indent-tabs-mode: nil -*-
// Created by Alexander Pohoyda
// Geometry specification for Chicony KB-9820 keyboard.
// 86 keys
default xkb_geometry "us" {
description = "Chicony KB-9820 infra-red keyboard";
width = 350;
height = 180;
//baseColor = "grey60";
labelColor = "white";
shape "EDGE" { cornerRadius = 25,
{ [0, 8], [142.5, 0], [202.5, 0], [347, 8],
[347, 60], [327, 100], [322, 160],
[202.5, 165], [142.5, 165],
[25, 160], [20, 100], [0, 60] } };
shape "KEYS" { cornerRadius = 2, { [271, 109] } };
shape "MOUS" { cornerRadius = 12, { [24, 24] } };
shape "MOUS2" { cornerRadius = 9, { [18, 18] } };
shape "BTNS" { cornerRadius = 5, { [10, 10] } };
solid "Edges" {
top = 0;
left = 0;
shape = "EDGE";
color = "grey60";
};
solid "KeyPanel" {
shape = "KEYS";
left = 38;
top = 22;
color = "black";
};
solid "Mouse" {
shape = "MOUS";
left = 315;
top = 30;
color = "grey30";
};
outline "Mouse2" {
shape = "MOUS2";
left = 318;
top = 33;
color = "black";
};
solid "Button1" {
shape = "BTNS";
left = 10;
top = 32;
color = "grey30";
};
solid "Button2" {
shape = "BTNS";
left = 20;
top = 42;
color = "grey30";
};
outline "Buttons" {
shape = "MOUS";
left = 8;
top = 30;
color = "black";
};
shape.cornerRadius = 1;
shape "ESC" { { [17, 12] }, { [1.5, 0], [15.5, 10] } };
shape "SMALL" { { [15, 12] }, { [1.5, 0], [13.5, 10] } };
shape "THIN" { { [14, 18] }, { [2, 0], [12, 15] } };
shape "NARR" { { [16, 18] }, { [2, 0], [14, 15] } };
shape "NORM" { { [17, 18] }, { [2, 0], [15, 15] } };
shape "WIDER" { { [18, 18] }, { [2, 0], [16, 15] } };
shape "CAPS" { { [22, 18] }, { [2, 0], [20, 15] } };
shape "RTSH" { { [23, 18] }, { [2, 0], [21, 15] } };
shape "WIDEST" { { [30, 18] }, { [2, 0], [28, 15] } };
shape "SPCE" { { [68, 18] }, { [2, 0], [66, 15] } };
section "Function" {
key.shape = "SMALL";
key.gap = 0.79;
key.color = "grey60";
left = 38;
top = 22;
row {
top = 1;
keys { { , shape="ESC", 1 },
{ , 1.5 }, , , ,
, , , ,
, , , ,
, , ,
};
};
}; // End of "Function" section
section "Control" {
key.shape = "NORM";
key.gap = 1;
key.color = "grey60";
left = 38;
top = 111;
row {
top = 1;
keys { , , , ,
{ , shape="SPCE" },
,
{ , shape="THIN" },
{