Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: scan codes + mouse
Posted by: gwem Jan,11.2005-13:17 

seems familiar to me ;) if you want relative mouse position then there is no simple way without an interrupt.

as you probably know, if you recieve a mouse button scan code ($f8=no click, $f9=right click, $fa=left click, $fb=left+right click). then you know that the next 2 packets from IKDB are mouse packets for x and y motion vector.

IKBD can produce mouse data in 2 otherways than relative position, which might be useful to you. you can setup ikbd for absolute position mode, and then poll ikdb yourself to find the mouse position.

you can also make ikdb produce cursor key scancodes to represent the mouse movement.

i guess one of the last 2 are good options for you. i played with these modes, but never did anything more than that, for more infos its maybe good to check the 'Intelligent Keyboard Protocol' doc by atari.







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
scan codes + mouse RA/Paradox Jan,11.2005-12:21
  Re: scan codes + mouse gwem Jan,11.2005-13:17
    Re: scan codes + mouse RA/Paradox Jan,11.2005-13:58
      Re: scan codes + mouse tobe Jan,11.2005-15:15
      Re: scan codes + mouse gwem Jan,11.2005-16:41
        Re: scan codes + mouse RA/Paradox Jan,11.2005-17:15
          Re: scan codes + mouse ultra/cream Jan,12.2005-05:11
            Re: scan codes + mouse ultra ;) Jan,12.2005-05:20
                Re: scan codes + mouse RA/Paradox Jan,12.2005-09:55
                  Re: scan codes + mouse keyboard Jul,06.2006-19:45


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson