![]() |
DEUTSCHE VERSION |
|
![]() |
Links | | | Forums | | | Comments | | | Report news |
![]() |
Chat | | | Polls | | | Newsticker | | | Archive |
![]() |
amiga-news.de Forum > Programmierung > keycode | [ - Search - New posts - Register - Login - ] |
-1- | [ - Post reply - ] |
2010-12-21, 14:59 h AGSzabo Posts: 1663 User |
hello ich hab in den window-idcmp-flags gesetzt: IDCMP_RAWKEY|IDCMP_VANILLAKEY nun will ich buchstaben in verbindung mit der alt-taste abfragen. ich bekomme auch korrekt den qualifier für die alt-taste geliefert. in der selben message ist auch IDCMP_VANILLAKEY eingetragen. aber der keycode scheint dennoch als raw anzukommen, zumidnest kommt statt "d" ein $f0. wie kann ich die tastatur hier abfragen? -- Sam mini os4.1 upd. 2 / e-uae 39bb2 / A4000D 3.0 & 3.9 2mbchip 8mbfast Ariadne_II ide DVD und HD / A500 3.1 (mkick) adide 50mb / Athlon ii X2 Ubuntu Linux [ - Answer - Quote - Direct link - ] |
2010-12-21, 15:35 h Holger Posts: 8116 User |
Zitat:Nee, das ist vollkommen korrekt. Die Tastenkombination ALT + d erzeugt das Zeichen š, bzw. 0xf0. -- Good coders do not comment. What was hard to write should be hard to read too. [ - Answer - Quote - Direct link - ] |
2010-12-21, 15:45 h AGSzabo Posts: 1663 User |
@Holger: nunja, ich will aber wissen ob es ALT+d bzw ALT-a, ALT+b oder ALT+c usw war. -- Sam mini os4.1 upd. 2 / e-uae 39bb2 / A4000D 3.0 & 3.9 2mbchip 8mbfast Ariadne_II ide DVD und HD / A500 3.1 (mkick) adide 50mb / Athlon ii X2 Ubuntu Linux [ - Answer - Quote - Direct link - ] |
2010-12-21, 16:03 h Holger Posts: 8116 User |
Zitat:Dir geht es offenbar um Shortcuts. Da lautet die passende Antwort: commodities.library. Da gibt es Funktionen, um aus einem String wie "ALT SHIFT a" oder "CTRL DOWN" eine "Input Expression" zu machen, die man dann zum Vergleichen mit einem realen Input Event heranziehen kann. Mehr kann ich Dir aber aus dem Kopf nicht dazu sagen. -- Good coders do not comment. What was hard to write should be hard to read too. [ - Answer - Quote - Direct link - ] |
-1- | [ - Post reply - ] |
amiga-news.de Forum > Programmierung > keycode | [ - Search - New posts - Register - Login - ] |
![]() |
Masthead |
Privacy policy |
Netiquette |
Advertising |
Contact
Copyright © 1998-2025 by amiga-news.de - all rights reserved. |
![]() |