From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29723 invoked from network); 14 Jul 2021 23:31:50 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 14 Jul 2021 23:31:50 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 1ess; Wed Jul 14 19:04:17 -0400 2021 Received: from abbatoir.myfiosgateway.com (pool-74-108-56-225.nycmny.fios.verizon.net [74.108.56.225]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id de97d8a2 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Wed, 14 Jul 2021 15:57:24 -0700 (PDT) Message-ID: <9F9498857FC86D3FBEDD894523553B15@eigenstate.org> To: 9front@9front.org Date: Wed, 14 Jul 2021 18:57:23 -0400 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: patented component AJAX over SSL rich-client template Subject: Re: [9front] Mouse clipping patch Reply-To: 9front@9front.org Precedence: bulk Quoth José Miguel Sánchez García : > After talking with some people about the need of proper mouse grabbing > for some programs (think about vncv, qwx's quake ports, screenlock), > I've implemented it. The devmouse and libdraw patches modify > /dev/mousectl to accept two new commands: "clip x0 y0 x1 y1" and > "release". Mentioned elsewhere -- but what if instead of this, we did a "raw" or "relative" command, which did two things: 1. Made mouse updates provide deltas from the previous position. 2. Disabled automatic cursor position updates. This would mean that an application which requested relative motion commands would be responsible for warping the cursor to where it wanted it to be. That would allow the application to emulate clipping, but would also be what games want, allowing infinite side scrolling (for example).