Skip to contentSkip to conversation

ADB Reset

DISCUSSION Benjamin Herrenschmidt 2 participants 2 messages Mar 11, 1999

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · Hubert Figuiere

This is really ugly. Why the hell is mouse related code in the keyboard driver ? I may understand that since it is ADB they are related, but I find this not really clean.
I'll look at this...

Historical reasons, I beleive. Anyway, I'm working on an overall rework of the adb code (I finally have a little more time this week and for one or two more weeks) that will allow ADB controller drivers and device drivers to be in modules, and everything to be in different locations.

There is one advantage of having the mouse and kbd code mixed the way they are currently which is to handle the mouse simulation via the kdb without exporting all sorts of globals.

Signature · 11 lines
           E-Mail: <mailto:[email protected]>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>





[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]
#1 lore raw
Quoted 3 lines · Benjamin Herrenschmidt

There is one advantage of having the mouse and kbd code mixed the way they are currently which is to handle the mouse simulation via the kdb without exporting all sorts of globals.

Even that can be done cleanly in separate modules: you need to export only one function in the mouse code to feed button events into the system from the keyboard code.

Or should the mouse simulation be done in the X server, as is currently already done to emulate the 3rd button on 2-button mice on PeeCee? A disadvantage of that is that it has to be done in gpm then, too.

Greetings,

Geert

--
Geert Uytterhoeven [email protected]
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]