80 |
|
|
81 |
- advantages: |
- advantages: |
82 |
|
|
83 |
- LEGOs have been popular toys for several decades in Scandinavia |
- LEGO bricks |
84 |
|
have been popular toys for several decades all around |
85 |
|
the western world |
86 |
- several scientists and students have a background in LEGO bricks ;) |
- several scientists and students have a background in LEGO bricks ;) |
87 |
|
|
88 |
|
|
126 |
|
|
127 |
Invention of mouse REF??? [mouse68engelbart]_ |
Invention of mouse REF??? [mouse68engelbart]_ |
128 |
|
|
129 |
Connecting an optomechanical mouse to LEGO bricks |
Interfacing LEGO bricks to a computer through an optomechanical mouse |
130 |
================================================= |
===================================================================== |
131 |
|
|
132 |
By far the most difficult part of our work with LEGO-based |
By far the most difficult part of our work with LEGO-based |
133 |
controllers has been the interfacing of the LEGO pieces to |
controllers has been the interfacing of the LEGO pieces to |
138 |
:label: figrequired |
:label: figrequired |
139 |
|
|
140 |
The non-LEGO parts and tools required for a controller. |
The non-LEGO parts and tools required for a controller. |
141 |
|
A USB mouse would be preferred to the PS/2 mouse |
142 |
|
shown in the picture, since several can be connected |
143 |
|
to a computer simultaneously as separate input sources. |
144 |
|
|
145 |
.. figure:: mouseopen.jpg |
.. figure:: mouseopen.jpg |
146 |
:width: 7.5cm |
:width: 7.5cm |
238 |
:width: 7.5cm |
:width: 7.5cm |
239 |
:label: figframedrivers |
:label: figframedrivers |
240 |
|
|
241 |
The driving mechanisms attached. After the towballs are attached |
The driving mechanisms (using a slightly different version |
242 |
|
than the one depicted in the previous figures) |
243 |
|
attached. After the towballs are attached |
244 |
to rubber bands for pressing the tyres downwards slightly, |
to rubber bands for pressing the tyres downwards slightly, |
245 |
motions from the LEGO axles are accurately translated to mouse |
motions from the LEGO axles are accurately translated to mouse |
246 |
X and Y motions. |
X and Y motions. |
247 |
|
|
248 |
On the software side, XXX |
On the software side, the Linux kernel is able to |
249 |
|
pass each USB mouse to a different virtual device |
250 |
|
using an enhanced PS/2 protocol. This makes reading |
251 |
|
the numerical values from all mice connected to the computer |
252 |
|
trivial. |
253 |
|
|
|
Linux, USB, Accel, ... |
|
254 |
|
|
255 |
An example custom controller for a particular user interface |
An example custom controller for a particular user interface |
256 |
============================================================ |
============================================================ |