FreeJ scripting

Class ViMoController

Object
   |
   +--Controller
         |
         +--ViMoController

class ViMoController
extends Controller


The ViMoController is for this fancy serial Video Mouse device:

I had no specs for hacking this driver. One mouse had a floppy disc in it's package labeled "WinEdit-Version 1.1". I ran that in qemu and sniffed the line. You may ask if this driver supports the IR sensor or the connectors ... mh, WinEdit came up with a popup: "Sorry, this feature is not implemented yet."
Check eBay or your attic!


Author: MrGoil
Defined in Controller.js


Constructor Summary
ViMoController(<string> filename)
            The ViMoController constructor creates a controller which holds the callbacks.
 
Method Summary
 bool callback button(<int> button, <int> state, <int> mask, <int> old_mask)
           This will be called on mouse button up and down.
 void close()
           closes device and releases lock.
 int open(<string> filename)
           opens device and locks it.
 bool callback wheel_i(<int> direction, <uint> history)
           This will be called when turning the inner wheel at a locked position.
 bool callback wheel_o(<int> speed, <int> old_speed)
           This will be called when turning the outer wheel.
 
Methods inherited from class Controller
activate, get_name
 

Constructor Detail

ViMoController

ViMoController(<string> filename)

Method Detail

button

bool callback button(<int> button, <int> state, <int> mask, <int> old_mask)

close

void close()

open

int open(<string> filename)

wheel_i

bool callback wheel_i(<int> direction, <uint> history)

wheel_o

bool callback wheel_o(<int> speed, <int> old_speed)

FreeJ scripting

| FreeJ scripting documentation is Copyleft (C) 2000 - 2007 dyne.org foundation. Verbatim copying and distribution of this entire page is permitted in any medium, provided this notice is preserved.
Send inquiries & questions to dyne.org's hackers.
Documentation generated by JSDoc on Thu May 29 20:56:52 2008