, hpcmips <port-hpcmips@netbsd.org>
From: Adam Laurie <adam@algroup.co.uk>
List: port-hpcmips
Date: 04/16/2001 22:16:10
This is a multi-part message in MIME format.
--------------14380A75A1779065A2D78315
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Adam Laurie wrote:
>
> TAKEMURA Shin wrote:
> >
> > Have you tried my patch ?
> >
> > http://mail-index.netbsd.org/port-hpcmips/2001/03/18/0001.html
> >
> > Should I put the compiled binary somewhere on the net ?
>
> if you could send me the patch (or the full .h file) as an attachment
> i'll compile it and see - picking up the patch from
> the web page is proving to be painful due to extra formatting characters
> etc.
ok, scrub that request - i went ahead and manually did what the patch
was intended to do and it worked (yay!)
the layout of the keys in the comment section was wrong though, so
here's a fresh patch that nails it... (the .orig file is from a cvs
update of about two weeks ago - vers: 1.8 2001/04/05 11:37:18 sato)
thanks for your help! another piece of the puzzle falls into place... :)
cheers,
Adam
--
Adam Laurie Tel: +44 (20) 8742 0755
A.L. Digital Ltd. Fax: +44 (20) 8742 5995
Voysey House http://www.thebunker.net
Barley Mow Passage http://www.aldigital.co.uk
London W4 4GB mailto:adam@algroup.co.uk
UNITED KINGDOM PGP key on keyservers
--------------14380A75A1779065A2D78315
Content-Type: text/plain; charset=us-ascii;
name="hpckbdkeymap.h.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="hpckbdkeymap.h.diff"
--- hpckbdkeymap.h.orig Mon Apr 16 20:37:34 2001
+++ hpckbdkeymap.h Mon Apr 16 22:01:21 2001
@@ -293,8 +293,8 @@
};
static u_int8_t mobilepro_keytrans[] = {
-/*00 space ] \ / - - enter l */
-/*08 - [ ' ; - - . o */
+/*00 space ] \ / left down enter l */
+/*08 - [ ' ; right up . o */
/*10 - - - Windows v c x z */
/*18 - = \- ` f d s a */
/*20 8 7 6 5 r e w q */
@@ -320,6 +320,35 @@
/*58*/ IGN, IGN, IGN, 42, 62, 61, 60, 59,
};
+/* NEC MobilePro 780 */
+static u_int8_t mobilepro780_keytrans[] = {
+/*00 space ] \ / left up enter l */
+/*08 - [ ' ; down right . o */
+/*10 - - - Windows v c x z */
+/*18 - = \- ` f d s a */
+/*20 8 7 6 5 r e w q */
+/*28 , m n b - - 0 9 */
+/*30 k j h g 4 3 2 1 */
+/*38 i u y t - caps del esc */
+/*40 alt_R - - - BS p TAB Fn */
+/*48 - alt_L - - pgdn pgup f10 f9 */
+/*50 - - ctrl - f8 f7 f6 f5 */
+/*58 - - - shift f4 f3 f2 f1 */
+/*----------------------------------------------------------------------*/
+/*00*/ 57, 27, 43, 53, 203, 205, 28, 38,
+/*08*/ IGN, 26, 40, 39, 200, 208, 52, 24,
+/*10*/ IGN, IGN, IGN, 221, 47, 46, 45, 44,
+/*18*/ IGN, 13, 12, 41, 33, 32, 31, 30,
+/*20*/ 9, 8, 7, 6, 19, 18, 17, 16,
+/*28*/ 51, 50, 49, 48, IGN, IGN, 11, 10,
+/*30*/ 37, 36, 35, 34, 5, 4, 3, 2,
+/*38*/ 23, 22, 21, 20, IGN, 58, 14, 1,
+/*40*/ 184, IGN, IGN, IGN, 14, 25, 15, 219,
+/*48*/ IGN, 56, IGN, IGN, 81, 73, 68, 67,
+/*50*/ IGN, IGN, 29, IGN, 66, 65, 64, 63,
+/*58*/ IGN, IGN, IGN, 42, 62, 61, 60, 59,
+};
+
static const keysym_t mobilepro_cmdmap[] = {
/* pos command normal shifted */
KC(219), KS_Cmd, KS_Meta_L, KS_Multi_key,
@@ -594,7 +623,7 @@
CMDMAP(mobilepro_cmdmap),
KB_US },
{ &platid_mask_MACH_NEC_MCR_530A,
- mobilepro_keytrans,
+ mobilepro780_keytrans,
NULL,
NULLCMDMAP,
KB_US },
--------------14380A75A1779065A2D78315--