Commit 11e75648 authored by Christoph Berg's avatar Christoph Berg

* Add keyboard layout for Toshiba Portege 34xxCT by Antony Pavloff.

* Update mail address for patches.
parent dfeca2bc
......@@ -239,4 +239,5 @@ tedious. Please send me any changes/additions you make!
Texas Instruments TravelMate 4000M (US)
Texas Instruments Explorer (US)
Toshiba Libretto 100CT (US)
Toshiba Portege 34xxCT (US)
Toshiba Tecra 500CDT (US)
xkeycaps (2.46-13) unstable; urgency=low
* Add keyboard layout for Toshiba Portege 34xxCT by Antony Pavloff.
* Update mail address for patches.
-- Christoph Berg <myon@debian.org> Sun, 18 Dec 2005 01:38:46 +0100
xkeycaps (2.46-12) unstable; urgency=low
* Make SimpleMenu work with Num/ScrollLock on, thanks to Bernhard R. Link
......
......@@ -6,7 +6,7 @@ First, make sure you have absolutely the latest version! Someone may have
defined the keyboard you're interested in already, or, more importantly, the
data format may have changed (this has happened once, and converting from
the old format to the new format was non-trivial.) You can get the latest
version of xkeycaps from http://www.jwz.org/xkeycaps/.
version of xkeycaps from http://ftp.debian.org/debian/pool/main/x/xkeycaps/.
XKeyCaps needs to know four pieces of information about each keyboard:
......@@ -198,7 +198,8 @@ Clean-Up Checklist:
details are important.
And that's about it! Once you've added a new keyboard definition, please send
your changes to me, and I will include them in the next release. Send me the
new files you added, plus the `diff -c' changes you made to `kbds/all-kbds.h'.
your changes to me, and I will include them in the next release. Send the
new files you added, plus the `diff -u' changes you made to `kbds/all-kbds.h'
to myon@debian.org.
--
-- Christoph Berg <myon@debian.org> Sun, 18 Dec 2005 01:17:38 +0100
......@@ -24,7 +24,7 @@
* Do not edit this file without having read `../defining.txt' first! *
* *
* *
* Please send me any changes you make. *
* Please send any changes you make to <myon@debian.org>. *
* But do carefully follow the instructions... *
* *
* *
......@@ -1916,3 +1916,12 @@
# include "tecra500-map.h"
#endif
#ifdef KBD
KBD ("Portege", "Toshiba", "Portege 34xxCT (US)", 0,
&portege34xx_geom, portege34xx_caps, portege34xx_codes, tecra500_map),
#else
# include "portege34xx-geom.h"
# include "portege34xx-caps.h"
# include "portege34xx-codes.h"
#endif
/* xkeycaps, Copyright (c) 1998 Jamie Zawinski <jwz@jwz.org>
*
* This file describes the key surfaces of the Toshiba Portege 34xxCT keyboard.
* By Antony Pavloff <antony@pc77a.cs.msu.su>
* Used code for Tecra 500CDT by Cesar Augusto Rorato Crusius.
*/
static const struct key_strings portege34xx_caps [] = {
/* Row 0 */
{"Esc", 0},
{"F1", 0},
{"F2", 0},
{"F3", 0},
{"F4", 0},
{"F5", 0},
{"F6", 0},
{"F7", 0},
{"F8", 0},
{"F9", 0},
{"F10", 0},
{"F11", 0},
{"F12", 0},
{"PrtSc", 0},
{"Pause", 0},
{"=/+/", 0},
{"##", 0},
/* Row 2 */
{"!", "1", 0},
{"@", "2", 0},
{"#", "3", 0},
{"$", "4", 0},
{"%", "5", 0},
{"^", "6", 0},
{"&", "7", 0},
{"*", "8", 0},
{"(", "9", 0},
{")", "0", 0},
{"_", "-", 0},
{"+", "=", 0},
{"Backspace", 0},
{"Home", 0},
/* Row 3 */
{"Tab", 0},
{"Q", 0},
{"W", 0},
{"E", 0},
{"R", 0},
{"T", 0},
{"Y", 0},
{"U", 0},
{"I", 0},
{"O", 0},
{"P", 0},
{"{", "[", 0},
{"}", "]", 0},
{"|", "\\", 0},
{"PgUp", 0},
/* Row 4 */
{"Caps", "Lock", 0},
{"A", 0},
{"S", 0},
{"D", 0},
{"F", 0},
{"G", 0},
{"H", 0},
{"J", 0},
{"K", 0},
{"L", 0},
{":", ";", 0},
{"\"", "'", 0},
{"Enter", 0},
{"PgDn", 0},
/* Row 5 */
{"Shift", 0},
{"Z", 0},
{"X", 0},
{"C", 0},
{"V", 0},
{"B", 0},
{"N", 0},
{"M", 0},
{"<", ",", 0},
{">", ".", 0},
{"?", "/", 0},
{"Shift", 0},
{"UpArrow", 0},
{"End", 0},
/* Row 6 */
{"Ctrl", 0},
{"Fn", 0},
{"Alt", 0},
{" ", 0},
{"~", "`", 0},
{"Ins", 0},
{"Del", 0},
{"LeftArrow", 0},
{"DownArrow", 0},
{"RightArrow", 0}
};
/* xkeycaps, Copyright (c) 1998 Jamie Zawinski <jwz@jwz.org>
*
* This file describes the keycodes of a Toshiba Portege 34xxCT laptop.
* By Antony Pavloff <antony@pc77a.cs.msu.su>
* Used code for Tecra 500CDT by Cesar Augusto Rorato Crusius.
*/
static const KeyCode portege34xx_codes [] = {
/* Row 0 */
9,
67, 68, 69, 70,
71, 72, 73, 74,
75, 76, 95, 96,
111, 110, 115, 117,
/* Row 2 */
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 97,
/* Row 3 */
23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 51, 99,
/* Row 4 */
66, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 36, 105,
/* Row 5 */
50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
98, 103,
/* Row 6 */
37, 0, 64, 65, 49, 106, 107, 100, 104, 102
};
/* xkeycaps, Copyright (c) 1998 Jamie Zawinski <jwz@jwz.org>
*
* This file describes the physical layout of the Toshiba Portege 34xxCT
* laptop, and may be suitable for many others
* By Antony Pavloff <antony@pc77a.cs.msu.su>
* Used code for Tecra 500CDT by Cesar Augusto Rorato Crusius.
*/
static const struct key_geometry portege34xx_geom_row0 [] = {
{16, 10}, {16, 10}, {16, 10}, {16, 10}, {16, 10}, {16, 10},
{16, 10}, {16, 10}, {16, 10}, {16, 10}, {16, 10}, {16, 10},
{16, 10}, {16, 10}, {16, 10}, {16, 10}, {16, 10}};
static const struct key_geometry portege34xx_geom_row2 [] = {
{7,0}, {18,18}, {18,18}, {18,18}, {18,18}, {18,18},
{18,18}, {18,18}, {18,18}, {18,18}, {18,18}, {18,18},
{18,18}, {31,18}, {18,18}};
static const struct key_geometry portege34xx_geom_row3 [] = {
{16,18}, {18,18}, {18,18}, {18,18}, {18,18}, {18,18},
{18,18}, {18,18}, {18,18}, {18,18}, {18,18}, {18,18},
{18,18}, {22,18}, {18,18}};
static const struct key_geometry portege34xx_geom_row4 [] = {
{19,18}, {18,18}, {18,18}, {18,18}, {18,18}, {18,18},
{18,18}, {18,18}, {18,18}, {18,18}, {18,18}, {18,18}, {37,18},
{18,18}};
static const struct key_geometry portege34xx_geom_row5 [] = {
{29,18}, {18,18}, {18,18}, {18,18}, {18,18}, {18,18}, {18,18},
{18,18}, {18,18}, {18,18}, {18,18}, {27,18}, {18,18},
{18,18}};
static const struct key_geometry portege34xx_geom_row6 [] = {
{21,18}, {19,18}, {19,18}, {105,18}, {18,18}, {18,18},
{18,18}, {18,18}, {18,18}, {18,18}};
static const struct keyboard_row_geometry portege34xx_geom_rows [] = {
ROW (portege34xx_geom_row0, 18),
ROW (portege34xx_geom_row2, 18),
ROW (portege34xx_geom_row3, 18),
ROW (portege34xx_geom_row4, 18),
ROW (portege34xx_geom_row5, 18),
ROW (portege34xx_geom_row6, 18),
};
static const struct keyboard_geometry portege34xx_geom = {
sizeof (portege34xx_geom_rows) / sizeof (struct keyboard_row_geometry),
portege34xx_geom_rows, 2, 3, 3
};
......@@ -2,6 +2,8 @@
*
* This file describes the keymap of a Toshiba Tecra 500CDT laptop.
* Generated by Cesar Augusto Rorato Crusius <crusius@isl.stanford.edu>
* Modified for Toshiba Portege 34xxCT laptop.
* By Antony Pavloff <antony@pc77a.cs.msu.su>
*/
static const struct default_keycode_map tecra500_map [] = {
......@@ -106,4 +108,6 @@ static const struct default_keycode_map tecra500_map [] = {
{ 111, 0, { XK_Print, XK_Execute }},
{ 112, 0, { XK_KP_Divide }},
{ 113, Mod1Mask, { XK_Alt_R, XK_Meta_R }},
{ 115, Mod4Mask, { XK_Meta_L }},
{ 117, 0, { XK_Menu }},
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment