From owner-freebsd-hackers Mon Jul 3 11:22:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from web4006.mail.yahoo.com (web4006.mail.yahoo.com [216.115.104.40]) by hub.freebsd.org (Postfix) with SMTP id 431ED37B717 for ; Mon, 3 Jul 2000 11:22:14 -0700 (PDT) (envelope-from dindin2k@yahoo.com) Message-ID: <20000703182212.15750.qmail@web4006.mail.yahoo.com> Received: from [144.60.85.200] by web4006.mail.yahoo.com; Mon, 03 Jul 2000 11:22:12 PDT Date: Mon, 3 Jul 2000 11:22:12 -0700 (PDT) From: Dinesh Nadarajah Subject: Keyboard programming - help! To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi: I am new to freeBSD and I would like to get some advice/recommendation regarding keyboard programming. I am trying to port FREEBSD to one of the Indian languages (and could possiblely be used for many of them) and so I would like to find out how to program the keyboard to accept key sequences for that. Here is my problem: The output keycode will not only depend the current key input, but also on th previous one. e.g. if the input sequence is ABCD - then the output sequence may be RGW ( meaning erase the previous code). How can I accomplish this so that all applications (mostly X based ones) can use such a scheme. I was thinking of writing a middle ware application that can be started and stopped at will. Anytime this application runs, it should intercept all keyboard codes, process them and then retransmit it so that what ever application can use it. The program will be able to switch between standard keyboard and also the special keyboard. BTW: This problem is not unique. I have been in contact will several embedded systems manufacturers who also want such implementation for control systems processing. ANy help/advice/opinion/direction/recommendation on this matter will be greatly appreciated. Thanks in advance. -Dinesh __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message