Autor Beitrag
Da_Knuddelbaer Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 485



BeitragVerfasst: So 27.04.03 10:23 
Wär' vielleicht ganz hilfreich, vor allem für testzwecke. Thx :)
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 27.04.03 18:37 
kann ich ja heute ml machen ;)

_________________
MFG
Michael Springwald, "kann kein englisch...."
maximus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 896

Win XP, Suse 8.1
Delphi 4/7/8 alles prof
BeitragVerfasst: Mo 28.04.03 10:36 
:D Versteht mich nicht falsch...aber ein directX game über virtual-key-codes zu steuern ist IMHO unprofessionell. Wenn du mit den DXInput nicht klar kommst, dann mach es doch direkt via DirectInput. Is garnicht so kommpliziert, wie es sich anhört. Ich würd dir sogar meine implementation zu verfügung stellen (is noch nicht perfekt...erfüllt aber seinen zweck).

bis denn.

_________________
mfg.
mâximôv
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Mo 28.04.03 14:29 
was meinst du mit DirectInput. ?
könntes mal ein beispiel machen ?
ich wollte ja auch noch eins machen;)

_________________
MFG
Michael Springwald, "kann kein englisch...."
Da_Knuddelbaer Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 485



BeitragVerfasst: Mo 28.04.03 14:38 
Sicher, ich bin für jede Meinung und jeden Tipp dankbar maximus.
Was Du genau mit DirectInput meinst weiss ich auch net aber ich denke einfach mal der direkte Zugriff auf DirectX Input, sprich keiner Kompo, wa?

Also Thx auf jeden Fall an euch beide!
Knuddelbaer
maximus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 896

Win XP, Suse 8.1
Delphi 4/7/8 alles prof
BeitragVerfasst: Mo 28.04.03 15:16 
Zitat:
was meinst du mit DirectInput. ?
...DirectX besteht ja aus direct3D, directInput, directPlay, directSound, directMusic. Wobei directInput für externe eingaben zuständig ist...was ihr euch sicher schon gedacht habt :D dh. die compo DXInput (DelphiX input) ist DirectInput.

Ein beispiel könnt ich machen..dauert aber bis morgen, da ich das nicht auf der arbeit machen kann :wink:

_________________
mfg.
mâximôv
maximus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 896

Win XP, Suse 8.1
Delphi 4/7/8 alles prof
BeitragVerfasst: Mo 28.04.03 22:25 
So...jetzt gibbet ein beispiel.

www.eyer-systems.de/data/DIKcon.zip

Is recht simple, wenn man sich die richtige unit geschrieben hat. Könnt ja mal testen und fragen hier stellen. Viel spass...und würd mich interessieren ob ihr mehr als 6 tasten gleichzeitig angezeigt bekommt?

PS: wenn euch die D3D9 unit stört, könnt ihr alle enträge in DirectInput8.pas dazu auskommentieren.

_________________
mfg.
mâximôv
Da_Knuddelbaer Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 485



BeitragVerfasst: Di 29.04.03 11:42 
Danke, ich schaus mir direkt mal an.