Shop OBEX P1 Docs P2 Docs Learn Events
Mouse Driver for ImageCraft C — Parallax Forums

Mouse Driver for ImageCraft C

jazzedjazzed Posts: 11,803
edited 2008-05-10 12:47 in Propeller 1
Attached find a mouse driver based on the mouse.spin module native PASM for use with imagecraft C.
Today it depends on the VGA_Text library being present; common functions will be separated later.
Delta and Bounds functions are not implemented since they would render driver non-reentrant in C;
such functions and other enhancements are left as an execise for the user.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed

Comments

  • simonlsimonl Posts: 866
    edited 2008-05-09 19:42
    Hey jazzed - you workin' on a C version of the combined keyboard/mouse object too?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheers,

    Simon
    www.norfolkhelicopterclub.co.uk
    You'll always have as many take-offs as landings, the trick is to be sure you can take-off again ;-)
    BTW: I type as I'm thinking, so please don't take any offense at my writing style smile.gif
  • jazzedjazzed Posts: 11,803
    edited 2008-05-09 20:37
    Not today. My wife will kill me if I don't replace that disposal before dark [noparse]:)[/noparse]
    If there is an existing .spin keyboard/mouse module using PASM, it would be cake.
    Not having to use another COG is a useful idea.

    My most immediate device driver need is VGA tile graphics; should be easier with Beta2.
    Of course all progress stops in a day or two without my ICC liscense ....

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    jazzed
  • simonlsimonl Posts: 866
    edited 2008-05-09 21:52
    LOL - I guess the disposal ought to come first then!

    You know, I could've sworn there was already a combined driver - can't find it on obex though :-( Maybe it was one Ale did for PropTerminal - I'll have a trawl...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheers,

    Simon
    www.norfolkhelicopterclub.co.uk
    You'll always have as many take-offs as landings, the trick is to be sure you can take-off again ;-)
    BTW: I type as I'm thinking, so please don't take any offense at my writing style smile.gif
  • RaymanRayman Posts: 14,162
    edited 2008-05-10 11:52
    There is a combined driver somewhere here...
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2008-05-10 12:08
    Rayman said...
    There is a combined driver somewhere here...

    Try this:

    http://forums.parallax.com/showthread.php?p=623841

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Aka: CosmicBob
  • simonlsimonl Posts: 866
    edited 2008-05-10 12:47
    Well done Bob - that's the one smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheers,

    Simon
    www.norfolkhelicopterclub.co.uk
    You'll always have as many take-offs as landings, the trick is to be sure you can take-off again ;-)
    BTW: I type as I'm thinking, so please don't take any offense at my writing style smile.gif
Sign In or Register to comment.