home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7540 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: AddIntServer + VERTB strangeness
  5. Date: 18 Apr 1996 13:38:39 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4l5gkv$jc0@sunsystem5.informatik.tu-muenchen.de>
  9. References: <PETERM.96Apr7124019@tui.maths.irl.cri.nz>  <1084.6678T720T2089@Redrobe.demon.co.uk> <PETERM.96Apr17120442@tui.maths.irl.cri.nz>
  10. NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
  11. Originator: fischerj@hphalle5.informatik.tu-muenchen.de
  12.  
  13.  
  14. In article <PETERM.96Apr17120442@tui.maths.irl.cri.nz>, 
  15. peterm@maths.grace.cri.nz (Peter McGavin) writes:
  16.  
  17. |> {
  18. |>   while (ie != NULL) {
  19. |>     /* grab raw keyboard/mouse/timer input from ie->ie_Class and
  20. |>        other input-event fields here */
  21. |>     ie = ie->ie_NextEvent;
  22. |>   }
  23. |>   return NULL;
  24. |> }
  25.          ^--- this is the "let nothign through" part right, i.e. if hi pri
  26.               all events gone ?
  27.  
  28. what if I still wanna support Amiga-M / Amiga-N in some way ?
  29. Or, even better, cancel anything but not all the Amiga-XXX combinations ?
  30.  
  31. Can someone direct me to the list of numbers given in ie->ie_NextEvent ?
  32. mouse ? joystick ?
  33.  
  34. The keyevents are RAW, i.e pressed/released ?
  35.  
  36. My picture of it is this:
  37.  
  38. own hi pri handler filtering all exept Amiga-XXX for hotkeys or screenswitch.
  39. Once the own game screen is not at front (Amiga-M), cancel filtering to get
  40. Ami controllable.
  41.  
  42. Kind of if (intuibase->firstscreen==myscreen) filter();
  43.  
  44. Any ideas/flames ?
  45.  
  46. Will not filtering Amiga-keys result in much overhead ?
  47. IMHO the mouse-movement-events cause most calculations
  48. (window->mouse x/y etc.).
  49.  
  50. What if I need mouseposition on my screen...
  51.  
  52. ------------------------------------------------------------------------
  53.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  54.  
  55.  
  56.  
  57.  
  58.  
  59.