Re: [PATCH] m68k: Fix atarimouse init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux