Re: [PATCH] m68k: Fix atarimouse init

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

 



Michael Schmitz píše v So 03. 01. 2009 v 08:23 +0100:
Yep, I do recall that - my intention was to reverse the logic in order to give 
Geert (and myself) something to test while you add the necessary bits to ARAnyM. 

I have added it already. Can you use CVS version of ARAnyM?

The original (and current) mouse driver explicitly set the top screen origin - 
either at keyboard init (old) or at mouse device open (now). I do assume that is 
not the default, power-up state of the hardware.

I have added the 0x0f, 0x10 IKBD opcodes emulation to ARAnyM but I don't
see how that could help if linux-m68k sets the upper left screen as the
mouse origin (I am trying to avoid the "top"/"bottom" words as they are
implemented differently in the IKBD than in my head).

Anyway, just give it a try, please, and let me know.
 
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.

How does that one work? 

http://hardware.atari.org/eiffel/index.htm
http://hardware.atari.org/photos/eiffel.jpg

You can attach any PS/2 mouse and keyboard to Atari.

The only reason for reviving the joystick hack would have been to have a 
'standard' way of passing a third mouse button. If the PS/2 adapter is that 
standard way now, that's fine. I'll just need to know what interrupt/device this 
is hooked up to, and what the data format is. 

It just adds new scancodes - I have provided a link to the scan codes
table in one of my previous mails.

The middle mouse button is mapped to scancode 0x37 (IIRC) while the
mouse wheels are provided in IKBD status packet.

Or check this:
http://www.sophics.cz/cgi-bin/viewvc.cgi/aranym/src/input.cpp?view=markup
search for SDL_BUTTON_MIDDLE and SDL_BUTTON_WHEELUP/WHEELDOWN.

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