home *** CD-ROM | disk | FTP | other *** search
- Path: mn5.swip.net!usenet
- From: roland.bengtsson@mbox3.swipnet.se (Roland Bengtsson)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Key up/down in inputevent handler
- Date: 19 Jan 1996 18:44:55 GMT
- Organization: -
- Message-ID: <1139.6591T1401T1956@mbox3.swipnet.se>
- References: <4dli3h$on7@vishnu.jussieu.fr>
- NNTP-Posting-Host: dialup103-109.swipnet.se
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
- >:Does anyone know how I could determine if a RAWKEY event is due to a key down
- >:or a key up ? I created a handler that filters events, in order to notice me
- >:a keystroke. But I when a key is pressed, 2 events are generated. One when
- >:the key is pressed down, and one when the key is released. I'm only
- >:interrested in key pressed down. How can I do this ?
-
- One of the bits in the event determine up or down i think.
-
- --
- \|/
- Thor 2.22 @ @
- +--------------------------oOO-(_)-OOo----------+
- |Amigaowner | |
- |since 1988 | |
- | _ |Fidonet> 2:203/802.6 |
- | _ // | |
- | \X/ |Falkenberg, Westcoast of Sweden |
- |A3000/10MB | |
- |280HD/28.8 |Please write where YOU live! |
- |GVP Spectrum| |
- |AFSPro |Amiga-Programmer in C |
- +------------+----------------------------------+
- AMIGA - Multimedia, Preemptive Multitasking
- Plug'n'Play since 1985.
- PGP-key Available
-
- --
-
-