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 09:16:04 +0100	[thread overview]
Message-ID: <1230970564.6343.34.camel@joy> (raw)
In-Reply-To: <alpine.DEB.1.00.0901030758590.17350@zirkon.biophys.uni-duesseldorf.de>

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

  reply	other threads:[~2009-01-03  8:16 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
2009-01-03  6:15                 ` Petr Stehlik
2009-01-03  7:23                 ` Michael Schmitz
2009-01-03  8:16                   ` Petr Stehlik [this message]
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=1230970564.6343.34.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