From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 19:15:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 316CF8B4 for ; Sun, 9 Nov 2014 19:15:18 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF361BF7 for ; Sun, 9 Nov 2014 19:15:17 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XnXxA-0002UU-SZ for freebsd-questions@freebsd.org; Sun, 09 Nov 2014 20:15:12 +0100 Received: from p4fddddce.dip0.t-ipconnect.de ([79.221.221.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Nov 2014 20:15:12 +0100 Received: from christian.baer by p4fddddce.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Nov 2014 20:15:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Christian Baer Subject: Re: FreeBSD and gaming keyboards (like k95) Date: Sun, 9 Nov 2014 20:14:59 +0100 Lines: 55 Message-ID: <20141109201459.3ce94354@falbala.rz1.convenimus.net> References: <6917859.lnRM16i5ho@falbala> <20141109032704.63b2de9e.freebsd@edvax.de> <20141109063744.eb9884aa.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4fddddce.dip0.t-ipconnect.de X-Newsreader: Claws Mail 3.11.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2014 19:15:18 -0000 On Sun, 9 Nov 2014 06:37:44 +0100 Polytropon wrote: > From looking at it... yes, I think that is the one. > But in order to make it "fully programmable", one > needs to open it and open the jumper that can be > easily found. This makes certain keys send an > individual code instead of a "hardwired" key > combination: For example, jumper closed && PF13 > will send Shift_L+F1, whereas jumper open && PF13 > will send code 181 instead (which can then be > associated to any symbol desired). While I guess this configuration will work fine on my computer at home (or at work), I'd have to write my own driver for each place. This is one thing I have always wanted to do but I have never found the right information on how to actually go about doing it. Now that I have pretty much given up the notion, I find someone else who could give me a push in the right direction. Figures... > The keyboard has a PS/2 mini-DIN plug, but with > an adapter to USB, it also works nicely. > Comparable model: > http://www.twindata.com/affirmative/1221TD.htm Looks a lot like a Model M terminal keyboard I still have here. I always thought the terminal keyboard was totally cool because it is so retro and if you have ever typed on a buckling sping keyboard, you never want to go back. :-) A few things about this keyboard did frustrate me though: - There is no ESC key. - Most of the extra keys are unusable out of the box (note my comment about the driver). - The arrow keys are in a non-standard layout. While I could get used to the arrow keys, I am not sure I want to. I have to type in several places on the keyboards that I am handed there. This applies mainly to the office and to clients I have to visit. Ariving at a client's place with a giant Model M terminal keyboard under my arm would seem extremely nerdy at best and complete dorky at worst. :-) The missing ESC-Key is kind of an issue that is hard to resolve unless I hack the keyboard driver and use an different key for ESC. This is one key that is hard to do without on UNIX systems. Ask vi, he'll tell you! :-P I'm not sure I understood you completely in the other post. However, I think you meant, that I should remap the specials keys. Is it possible to actually make macros out of these keys? Meaning: Would FreeBSD let me map a key to maybe a whole sentence? Best regards, Chris