Autor Beitrag
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Sa 21.05.05 10:42 
So, ich hoffe es gibt unter euch genug Logitech, etc. Tastaturen :D
Die haben ja (fast?) alle die Tasten, mit denen man Windows MediaPlayer etc. steuern kann. Es interessiert mich, wie ich auch einen Tastendruck reagieren kann (bei den Ereignissen OnKey... passiert nix!-> es wird nicht ausgelöst)

THX!!!

_________________
Programmers never die, they just GOSUB without RETURN
ebs
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 213

Suse Linux 9.2, Win 98, Win NT, Win XP, Win for Workgroups, Win XP SP2, Dos 6.1
D3 Prof, D2005 PE, Delphi 2006 Prof.
BeitragVerfasst: Di 24.05.05 16:22 
Ich meine, dass es ziemlich schwierig werden könnte die zu benutzen, da man ja immer zu den Multimedia Tastaturen noch ein spezielles Programm installieren muss, die dann diese Befehle von der Tastatur abfangen und z.B. an den WM P weitergibt. Je nach Tastatur sind diese Befehle unterschiedlich, und die Programme natürlich auch.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 25.05.05 09:55 
Ja also bei mir wird da ein extra Treiber installiert. Deshalb stimmt das was ebs gesagt hat, es wird schwierig.
Ich denke, es gibt zwei Ansatzpunkte:
1. Über Hooks versuchen die Treiber-DLL zu überwachen, Code, mit dem das evtl. möglich ist, hab ich schon gesehen, Stichwort DLL-inject.
2. Einen eigenen Treiber schreiben, der auf die Tastatur ebenfalls zugreift und alles direkt verarbeitet.

Letzteres dürfte für dich wohl nicht in Frage kommen, denn das geht nicht mit Delphi, jedenfalls nicht so einfach, weil wenn, dann nur mit Assembler.

Zu ersterem such ich mal das Topic, das ich eben im Hinterkopf hatte...

//edit:
Das ist es ja:
www.delphi-forum.de/...highlight=dll+inject
alias5000 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Fr 27.05.05 20:07 
aber mit Winamp und den anderen Progs gehts doch auch, und ich kann mir da net vorstellen, dass de alle irgendwelche dlls hooken, etc....
Ich denke da an die Win API und so ( :?: ) :lupe:

_________________
Programmers never die, they just GOSUB without RETURN
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 03.06.05 10:46 
Ok, hab da was gefunden: (Das zweite von oben: CarbonSoft cxKeyPlus v.1.0)
www.torry.net/pages.php?id=238

Ist Freeware mit Source
alias5000 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: So 05.06.05 09:48 
Geeiiilll! 100000000000000000000 Dank!!! Werds ausprobieren! :D :D :D

_________________
Programmers never die, they just GOSUB without RETURN
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: So 05.06.05 10:40 
Hi,
ich nutze selber auch ne MultimediaTastertur und habe dazu keinen Treiber installiert und Windows kann trotzdem was mit den Tasten anfangen :]

mfg matze

_________________
si tacuisses, philosophus mansisses.
alias5000 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: So 05.06.05 10:44 
was heißt "Windows kann damit was anfangen"?

_________________
Programmers never die, they just GOSUB without RETURN
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: So 05.06.05 10:59 
user profile iconalias5000 hat folgendes geschrieben:
was heißt "Windows kann damit was anfangen"?


Für die Play,Stop,Next,Prev Tasten sucht Windows sich den erstbesten Mediaplayer aus(bei mir meistens Winamp) und führt die Funktionen dann aus. Genauso wie mit den Mute,Volume+,Volume- Tasten. Diese Funktionen führt er für die derzeit ausgewählte Soundkarte aus. Oder beim Email Knopf geht er in Outlook und beim Suchen Knopf geht er in die Windowssuche.

Und das einzige was ich von Logitech installiert hab, is die MouseWare für meine MX500.

mfg matze

_________________
si tacuisses, philosophus mansisses.
alias5000 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: So 05.06.05 11:12 
Ja, das ist mir klar, so läufts bei mir auch (Internet Navigator SE als Keyboard).

_________________
Programmers never die, they just GOSUB without RETURN
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: So 05.06.05 11:40 
Hallo,

bei meiner Tastatur musste ich auch nichts installieren.
Den Tastendruck kann ich mit KeyDown oder KeyUp abfragen:
•WWW = 172
•Pause = 179
•Lautsprecher an/aus = 173
•Stop = 178
KeyPress reagiert nicht auf die Multimediatasten.

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )