In Native Oberon, TYPE PollMouse* = PROCEDURE ... ... MousePoller = POINTER TO RECORD poll: PollMouse; next: MousePoller END; Native Oberon had only one mouse. One PollMouse procedure should suffice. But MousePoller makes a linked list of procedures. If someone can explain or offer an idea, it will help. Thanks, ... Peter E. -- Telephone 1 360 639 0202. Bcc: peter at easthope.ca "http://carnot.yi.org/ "
P.s. Two pointing devices are not unusual in a contemporary system. For example a laptop can have a touchpad and a PS/2 or USB mouse. The MousePoller is to allow for that? Regards, ... Peter E. -- Telephone 1 360 639 0202. Bcc: peter at easthope.ca "http://carnot.yi.org/ "
With a ps2 mouse, and adding a USB mouse: either/both move the cursor. This mystery needs deeper understanding to explain. But consider: apparently USB is not allocated/fixed to specific </dev in *NIX>. It seems to; be detected when connected, and then identified as a mouse [since different device types need to be associated with the appropriate driver/s]. So the USB approach is consistent with 'just add more links to the chain'. But the RS232 approach is not suitable for 'chaining'. USB is very complex, but apparently very successful. RS232 is very simple. I've never looked into ps2. It's notable that OP2013, seems to be skipping USB? == Chris Glur. On 3/3/14, Peter Easthope <peter@easthope.ca> wrote:
P.s. Two pointing devices are not unusual in a contemporary system. For example a laptop can have a touchpad and a PS/2 or USB mouse.
The MousePoller is to allow for that?
Regards, ... Peter E.
-- Telephone 1 360 639 0202. Bcc: peter at easthope.ca "http://carnot.yi.org/ "
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
On Mon, Mar 31, 2014 at 3:17 AM, eas lab <lab.eas@gmail.com> wrote:
USB is very complex, but apparently very successful. RS232 is very simple. I've never looked into ps2. It's notable that OP2013, seems to be skipping USB?
In the interest of "as simple as possible, but not simpler" my impression is that subsets of USB may be relatively simple and other subsets relatively complex. For Project Oberon, it would come back to the chipset(s) used to implement the needed protocols for input and potentially storage. Some oddities would be to determine whether or not it would be easier to maintain the USB stack and a subset of well-defined device types to avoid dealing with alternative drivers, including things like Ethernet. Some other alternatives would be to look at skipping USB and PS/2 altogether. There's an interesting presentation by Stuart Cheshire from Apple talking about Bonjour at Google: http://www.youtube.com/watch?v=kgMVjEJiHDM At the end he talks very briefly about USB complexity and how it might be possible to reduce both complexity and cost by using "slow" Ethernet and Bonjour. Oberon Project's current networking stack is very similar to Bonjour (think Bonjour without IP), and it could be interesting to do a PS/2-to-(insert protocol here) and eliminate yet another set of interfaces and drivers. -Jack (from the armchair)
participants (3)
-
eas lab -
Jack Johnson -
Peter Easthope