website logo
Auteur
avatar
Fabien

Forum » » Création-Développement » » Arduino


Posté : 28-10-2014 21:53 icone du post

En modifiant comme suit :

FakeEvent->ie_EventAddress=NULL;
FakeEvent-> ;ie_Class=IECLASS_RAWMOUSE;
FakeEvent->ie_Code=IECODE_LBUTTON  ;
                            
InputIO->io_Data    = (APTR)FakeEvent;    
InputIO->io_Length  = sizeof(struct InputEvent);
InputIO->io_Command = IND_ADDEVENT;             < ============
DoIO((struct IORequest *)InputIO);
                             
FakeEvent->ie_EventAddress=NULL;
FakeEvent->ie _Class=IECLASS_RAWMOUSE;
FakeEvent->ie_Code=SELECTUP;
r>
InputIO->io_Data    = (APTR)FakeEvent;    
InputIO->io_Length  = sizeof(struct InputEvent);
InputIO->io_Command = IND_WRITEEVENT;
DoIO((struct IORequest *)InputIO);                            

Slts
Fabien

Message édité par : Fabien / 28-10-2014 21:55
Message édité par : Fabien / 28-10-2014 21:58
Message édité par : Fabien / 28-10-2014 21:59

Cet article provient de Le site des utilisateurs francophones actuels et futurs d'AmigaOS 4.x
https://amiga-ng.org/viewtopic.php?topic=1630&forum=14