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

Atari coding BBS
 
Re: ESC Key
Posted by: ggn Jan,06.2011-10:55 

That's because you parse every ikbd byte that comes to you.

Take a look at the IKBD manual (http://dbug.kicks-ass.net/dbugforums/cgi-bin/yabb2/YaBB.pl?num=1280676368). When you receive a byte that is in the range of $f8 to $fb, then there follow 2 more bytes that describe the mouse movement. Since the mouse reports relative movement, it is entirely possible that you can move the mouse by one pixel in at one time. So, just discard those 2 bytes and you should be ok. Of course you might want to check for the other special codes and handle them accordingly.

Hope this helps.







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

Topic Posted by  Date 
ESC Key quackmore Jan,06.2011-02:47
  Re: ESC Key ggn Jan,06.2011-10:55
    Re: ESC Key quackmore Jan,07.2011-07:10
      Re: ESC Key mikro Jan,07.2011-16:18
        Re: ESC Key ggn Jan,07.2011-22:51
          Re: ESC Key PeP Jan,08.2011-01:17
            Re: ESC Key defjam Jan,08.2011-17:17
              Re: ESC Key Mr.Styckx Jan,09.2011-23:29
                Re: ESC Key quackmore Jan,10.2011-00:29


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