input mouse and keyboard translator to GPC2 SCRIPT XBOX ONE
15 posts
• Page 2 of 2 • 1, 2
Re: input mouse and keyboard translator to GPC2 SCRIPT XBOX
Hi guys
i have tested input translator working fine but not working when i copy and paste in script
i guess i'm putting translator in wrong location in script
i have tested input translator working fine but not working when i copy and paste in script
- Code: Select all
const uint8 mmap[] = { 0x05, 0x04, 0x04, 0x0E, 0x02, 0x0F, 0x03, 0x0D, 0x06, 0x05, 0x07, 0x03, 0x08, 0x08, 0x00, 0x15, 0x01, 0x16 };
const uint8 kmap[] = { 0x52, 0x98, 0x51, 0x18, 0x50, 0x97, 0x4F, 0x17, 0x1B, 0x10, 0x19, 0x07, 0xE2, 0x0C, 0x06, 0x11, 0x52, 0x08 };
const uint8 mxyc[] = { 0x07, 0x04, 0x73, 0x01, 0x00, 0x00, 0x00, 0x0C, 0x00, 0x0C, 0x00, 0x01, 0x01, 0x00, 0x05, 0x0A, 0x0F, 0x14, 0x19, 0x1E, 0x23, 0x28, 0x2D, 0x32, 0x37, 0x3C, 0x41, 0x46, 0x4B, 0x50, 0x55, 0x5A, 0x5F, 0x64, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0C, 0x00, 0x0C, 0x00, 0x01, 0x00, 0x00, 0x05, 0x0A, 0x0F, 0x14, 0x19, 0x1E, 0x23, 0x28, 0x2D, 0x32, 0x37, 0x3C, 0x41, 0x46, 0x4B, 0x50, 0x55, 0x5A, 0x5F, 0x64 };
i guess i'm putting translator in wrong location in script
-
BEAST07 - Sergeant Major
- Posts: 74
- Joined: Tue Jan 07, 2020 9:19 am
Re: input mouse and keyboard translator to GPC2 SCRIPT XBOX
The input translator embedded in script should be coded like this:
- Code: Select all
init {
const uint8 kmap[] = {
0x52, 0x98, 0x51, 0x18, 0x50, 0x97, 0x4F, 0x17, 0x1B, 0x10, 0x19, 0x07,
0xE2, 0x0C, 0x06, 0x11, 0x52, 0x08
}; keymapping(kmap);
const uint8 mmap[] = {
0x05, 0x04, 0x04, 0x0E, 0x02, 0x0F, 0x03, 0x0D, 0x06, 0x05, 0x07, 0x03,
0x08, 0x08, 0x00, 0x15, 0x01, 0x16
}; mousemapping(mmap);
const uint8 mxyc[] = {
0x07, 0x04, 0x73, 0x01, 0x00, 0x00, 0x00, 0x0C, 0x00, 0x0C, 0x00, 0x01,
0x01, 0x00, 0x05, 0x0A, 0x0F, 0x14, 0x19, 0x1E, 0x23, 0x28, 0x2D, 0x32,
0x37, 0x3C, 0x41, 0x46, 0x4B, 0x50, 0x55, 0x5A, 0x5F, 0x64, 0x01, 0x00,
0x01, 0x00, 0x00, 0x00, 0x0C, 0x00, 0x0C, 0x00, 0x01, 0x00, 0x00, 0x05,
0x0A, 0x0F, 0x14, 0x19, 0x1E, 0x23, 0x28, 0x2D, 0x32, 0x37, 0x3C, 0x41,
0x46, 0x4B, 0x50, 0x55, 0x5A, 0x5F, 0x64
}; mxyconverter(mxyc);
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: input mouse and keyboard translator to GPC2 SCRIPT XBOX
thanks again J2Kbr
-
BEAST07 - Sergeant Major
- Posts: 74
- Joined: Tue Jan 07, 2020 9:19 am
Re: input mouse and keyboard translator to GPC2 SCRIPT XBOX
@mad,
Thank you very much for replying to this post. I'm relatively new to the Titan 2 world and also recently switched to KBM on the Xbox One. My OTG Cable will arrive tomorrow and I'll give that a go. I'm currently using a Game Pad and so far when it's hooked directly into the Xbox One it seems to work great. I tried plugging it into the Titan 2 in the USB Ports, but it did not register. I'm assuming the OTG Cable will solve that issue. Thanks again for all you do.
Thank you very much for replying to this post. I'm relatively new to the Titan 2 world and also recently switched to KBM on the Xbox One. My OTG Cable will arrive tomorrow and I'll give that a go. I'm currently using a Game Pad and so far when it's hooked directly into the Xbox One it seems to work great. I tried plugging it into the Titan 2 in the USB Ports, but it did not register. I'm assuming the OTG Cable will solve that issue. Thanks again for all you do.
-
TheAngryRooster - Sergeant
- Posts: 9
- Joined: Tue Sep 14, 2021 1:08 am
15 posts
• Page 2 of 2 • 1, 2
Return to GPC2 Script Programming
Who is online
Users browsing this forum: fox5, Google [Bot] and 162 guests