public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: Petr Stehlik <pstehlik@sophics.cz>
To: Michael Schmitz <schmitz@biophys.uni-duesseldorf.de>
Cc: Andreas Schwab <schwab@suse.de>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Linux/m68k <linux-m68k@vger.kernel.org>
Subject: Re: [PATCH] m68k: Fix atarimouse init
Date: Sat, 03 Jan 2009 06:53:53 +0100	[thread overview]
Message-ID: <1230962033.6343.15.camel@joy> (raw)
In-Reply-To: <alpine.DEB.1.00.0901022257150.738@zirkon.biophys.uni-duesseldorf.de>

Michael Schmitz píše v Pá 02. 01. 2009 v 23:10 +0100:
> > > Weird - the inversion of the y direction increment is taken from the old 
> > > busmouse driver code where it used to work OK. The point of reference is set to 
> > > be at the top of the 'screen' so moving the mouse down ought to generate 
> > > positive increments.
> > 
> > ARAnyM's emulation of the IKBD does not support changing the y origin.
> 
> Bummer - any reason the origin was set to the top initially?

Isn't it sane to have the origin at top so the mouse increments are
logically in sync with video coordinates?

I mean I am not sure what's wrong in this chain but I have just tested
ARAnyM to ensure that moving the mouse down on the screen generates
positive y-axis increments.

> I guess we could reverse that (at least for ARAnyM).

I am against changing generic Atari related things just for ARAnyM. I
said earlier (about 12 hours before you posted this mail) that I would
fix anything in ARAnyM to make it more linux-m68k compatible.

I am just not sure what's wrong here - does the linux-m68k indeed
switches the point of origin to bottom of screen and relies on that? Why
if you say that the old busmouse code used the "normal" top-screen
origin?

> How would I go about figuring out the kernel runs on ARAnyM, Petr?

Using the NatFeats, of course. But see above - I am against such hacks
and I'll add the code for reversing Y-axis real quick if its really
necessary.
 
> > > knows what the ikbd format for the third button is (on real hardware) it's easy 
> > > to add that in.
> > 
> > The IKBD does not support more than two buttons.  For a three button
> > mouse the middle button was apparently wired to the joystick port.
> > 
> > See also <http://dev-docs.atariforge.org/files/ikbd_Prot_2-26-1985.pdf>.
> 
> Thanks, Andreas. Seems I'll have to revive the old joystick code, then. 

Michael, I don't think there is anybody out there using such hardware
joystick-mouse modification. But there is number of people using the
Eiffel PS/2 adapter so if supporting anything then I'd go for that.

BTW, is it just my feeling that you kind of didn't take my mail
(Thursday 11:20) into account when replying to Andreas?

Petr


--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-01-03  5:53 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20081217165557.b4898a4b.sfr@canb.auug.org.au>
2008-12-17  8:18 ` linux-next: boot-params tree build failure Geert Uytterhoeven
2008-12-21 11:12   ` [PATCH] m68k: Kill several external declarations in source files (was: Re: linux-next: boot-params tree build failure) Geert Uytterhoeven
2008-12-21 22:21     ` Rusty Russell
2008-12-22  7:30       ` Geert Uytterhoeven
2008-12-28 22:00     ` [PATCH] m68k: Fix atarimouse init Michael Schmitz
2008-12-29 10:57       ` Geert Uytterhoeven
2008-12-30  9:18         ` Petr Stehlik
2009-01-02  0:27           ` Michael Schmitz
2009-01-02  0:12         ` Michael Schmitz
2009-01-02  9:42           ` Andreas Schwab
2009-01-02 10:20             ` Petr Stehlik
2009-01-02 22:10             ` Michael Schmitz
2009-01-03  5:53               ` Petr Stehlik [this message]
2009-01-03  6:15                 ` Petr Stehlik
2009-01-03  7:23                 ` Michael Schmitz
2009-01-03  8:16                   ` Petr Stehlik
2009-01-04  3:12                     ` Michael Schmitz
2009-01-04  7:34                       ` Petr Stehlik
2009-01-04  7:15                     ` [PATCH] m68k: Add Eiffel PS/2 support for Atari mouse driver Michael Schmitz
2009-01-04  7:41                       ` Petr Stehlik
2009-01-04 21:50                         ` Michael Schmitz
2009-01-04 22:10                           ` Petr Stehlik
2009-01-05  1:11                             ` Michael Schmitz
2009-01-05  1:32                       ` [PATCH] m68k: Add Eiffel PS/2 support for Atari mouse driver (updated) Michael Schmitz
2009-01-03  8:45                   ` [PATCH] m68k: Fix atarimouse init Andreas Schwab
2009-01-04  2:05                     ` Michael Schmitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1230962033.6343.15.camel@joy \
    --to=pstehlik@sophics.cz \
    --cc=geert@linux-m68k.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=schmitz@biophys.uni-duesseldorf.de \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox