/* xkeycaps, Copyright (c) 1991, 1992, 1993 Jamie Zawinski <jwz@lucid.com>
 *
 * This file describes the physical layout of the Sun type 2 keyboard.
 */

static struct key_geometry sun2_geom_row0 [] = {
 {7, 7}, {14, 7}, {4, 0},
 {7, 7}, {7, 7}, {14, 7}, {14, 7}, {14, 7}, {14, 7}, {14, 7}, {7, 7}, {7, 7},
 {10, 7}, {4, 0},
 {7, 7}, {7, 7}, {7, 7}
};

static struct key_geometry sun2_geom_row1 [] = {
 {7, 7}, {14, 7}, {4, 0},
 {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7},
 {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {10, 7}, {4, 0}, {7, 7}, {7, 7},
 {7, 7}
};

static struct key_geometry sun2_geom_row2 [] = {
 {7, 7}, {14, 7}, {4, 0},
 {10, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7},
 {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {11, 0},
 {7, 7}, {7, 7}, {7, 7}
};

static struct key_geometry sun2_geom_row3 [] = {
 {7, 7}, {14, 7}, {4, 0},
 {13, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7},
 {7, 7}, {7, 7}, {7, 7}, {7, 7}, {11, 7}, {4, 0},
 {7, 7}, {7, 7}, {7, 7}
};

static struct key_geometry sun2_geom_row4 [] = {
 {7, 7}, {14, 7}, {4, 0},
 {17, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7}, {7, 7},
 {7, 7}, {7, 7}, {14, 7}, {7, 7}, {4, 0},
 {7, 7}, {7, 7}, {7, 7}
};

static struct key_geometry sun2_geom_row5 [] = {
 {35, 0}, {9, 7}, {64, 7}, {9, 7}
};

static struct keyboard_row_geometry sun2_geom_rows [] = {
  ROW (sun2_geom_row0, 7),
  ROW (sun2_geom_row1, 7),
  ROW (sun2_geom_row2, 7),
  ROW (sun2_geom_row3, 7),
  ROW (sun2_geom_row4, 7),
  ROW (sun2_geom_row5, 7),
};

static struct keyboard_geometry sun2_geom = {
  sizeof (sun2_geom_rows) / sizeof (struct keyboard_row_geometry),
  sun2_geom_rows, 6, 3, 3
};
