Jump to content

Recommended Posts

Posted (edited)

Hi everyone,

 

I started to study the TARGET manual, and I tried some code line.

 

I have a problem with the first example : MapKey(&Joystick, TG1, 'a');

 

In the tester, I suppose to have 'a' in the event column. But I have 01 !?! How is it possible ?

 

This is the complete prog (new prog wrote manually) :

 

include "target.tmh"

 

int main()

{

if(Init(&EventHandle)) return 1;

 

MapKey(&Joystick, TG1, 'a');

 

}

 

int EventHandle(int type, alias o, int x)

{

DefaultMapping(&o, x);

}

 

Thanks.

Edited by vctpil

IAMD Ryzen 9 5900X 12x 3.7 to 4.8Ghz - 32Go DDR4 3600Mhz - GeForce RTX 3080 - Samsung Odyssey G7 QLED - AIMXY

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...