From owner-freebsd-questions@freebsd.org Thu Oct 13 18:15:04 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11EF5C104D8 for ; Thu, 13 Oct 2016 18:15:04 +0000 (UTC) (envelope-from steve@sohara.org) Received: from smtp3.irishbroadband.ie (smtp3.irishbroadband.ie [62.231.32.5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D1CE8104 for ; Thu, 13 Oct 2016 18:15:03 +0000 (UTC) (envelope-from steve@sohara.org) Received: from [89.127.62.20] (helo=smtp.lan.sohara.org) by smtp3.irishbroadband.ie with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1bukWt-00084a-73 for freebsd-questions@freebsd.org; Thu, 13 Oct 2016 19:14:55 +0100 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.87 (FreeBSD)) (envelope-from ) id 1bukXJ-000LjY-ET for freebsd-questions@freebsd.org; Thu, 13 Oct 2016 18:15:21 +0000 Date: Thu, 13 Oct 2016 19:14:51 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Looking for a native Tetris game with customizable keys Message-Id: <20161013191451.ccfecc2a95d99a9b266ff13f@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2016 18:15:04 -0000 On Thu, 13 Oct 2016 16:24:29 +0000 Manish Jain wrote: > > > On 10/13/16 17:30, freebsd-questions-request@freebsd.org wrote: > > There's bsdtris which by default uses k for rotate and space for > > drop, but supports a command line parameter to set the six controls to > > any key you like. > > > > -- Steve O'Hara-Smith > > Hi Steve, > > Thanks for this lead. I had already zeroed in on bsdtris (after sifting > through all possible tetris variants under /usr/ports/games). > > bsdtris solves the problem that the (clockwise) rotation key can be > mapped to the Space bar. But now I have the aux problem that the piece > left-right movement keys somehow have to be mapped to my keyboard's left > and right keys (< and > in the middle section; not in the numeric pad; > which I simply never use). > > I have no idea if that is possible. Could putting something in the > .input_profile get that map to work ? That's a problem because bsdtris configuration is in single characters but the arrow keys produce escape sequences with three characters each. Hmm vitetris boasts configurable keys, - yep it can set the keys you want. -- Steve O'Hara-Smith | Directable Mirror Arrays C:>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/