Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Lilypad] L3 toggles Turbo - Can we change the button?
#1
I've looked in the config, but I couldn't find this (only an enable/disable thing in the INI).. Is there a way to possibly change L3 to R3 to toggle Turbo on and off?
Intel Core i5-4670K @ 3.40GHz | 16GB (2x8GB) DDR3-1866 G.SKILL Sniper Series
AMD Radeon R9 280 @ 3 GB | 120GB SSD | Windows 7 Ultimate x64 (SP1)
Reply

Sponsored links

#2
I use JoyToKey.
[Image: vwah44]
Gaming: Intel i7 3770k @ 4.2Ghz | R9 290 | 16GB RAM | 480GB(240GB+240GB RAID0) SSD | 3 TB HDD | 1 TB HDD | 500GB HDD
Server: AMD FX 6300 @ 4.4Ghz | GTX 670 | 16GB RAM | 240GB SSD | 320GB HDD
PCSX2 General Troubleshooting FAQ
Reply
#3
There is an option for that in lilypad...Edit: Oh i think you have to do it from the source
[Image: newsig.jpg]
Reply
#4
(11-11-2014, 02:13 PM)Bositman Wrote: There is an option for that in lilypad...Edit: Oh i think you have to do it from the source
Yeah, it has to be done from the source.


Here's the code for it in the lilypad.cpp file

Code:
if ( config.turboKeyHack == 1 ){ // send a tabulator keypress to emulator
        //printf("%x\n", b->command);
        if ( b->command == 0x11 ){ // L3 button
            static unsigned int LastCheck = 0;
            unsigned int t = timeGetTime();
            if (t - LastCheck < 300 ) return;
            QueueKeyEvent(VK_TAB, KEYPRESS);
            LastCheck = t;
        }
[Image: gmYzFII.png]
[Image: dvedn3-5.png]
Reply
#5
Ah man, wish I knew how to compile D:

Would it take long for me to pick up on how to edit that source file and recompile it back?

And looking at that code, I figure to change the button is that b->command == 0x11 ?

And thanks for the info so far. Least it's good to know it's possible to change things.


@Blyss: With JoyToKey you can set R3 to act as a Tab-key I assume (Which would normally be a turbo key as well)
Never really used that tool before, but was reading some basic stuff about it earlier.
Intel Core i5-4670K @ 3.40GHz | 16GB (2x8GB) DDR3-1866 G.SKILL Sniper Series
AMD Radeon R9 280 @ 3 GB | 120GB SSD | Windows 7 Ultimate x64 (SP1)
Reply
#6
Yeah, I'm trying to figure out what that hex value corresponds to.
[Image: gmYzFII.png]
[Image: dvedn3-5.png]
Reply
#7
(11-12-2014, 07:16 PM)Nobbs66 Wrote: Yeah, I'm trying to figure out what that hex value corresponds to.

11 Hex = 17 Dec.

In LilyPad.ini L3 is the following:

Binding 22=0x0004000A, 0, 17, 65536, 0, 0, 0

That might be it.

R3 would be [Binding 23=0x0004000B, 0, 18, 65536, 0, 0, 0] then if I go by what's in the INI. So changing that in the source to 12 would set turbo to R3
Intel Core i5-4670K @ 3.40GHz | 16GB (2x8GB) DDR3-1866 G.SKILL Sniper Series
AMD Radeon R9 280 @ 3 GB | 120GB SSD | Windows 7 Ultimate x64 (SP1)
Reply
#8
Yeah, I figured R3 would be 0x12, but I don't have the DX SDK to compile lilypad.
[Image: gmYzFII.png]
[Image: dvedn3-5.png]
Reply
#9
I don't have any experience whatsoever compiling a PCSX2 plugin or whatever. The only thing I ever compiled was a Save Editor tool for FFXIII-2 last year that I made myself and that's it lol.
Intel Core i5-4670K @ 3.40GHz | 16GB (2x8GB) DDR3-1866 G.SKILL Sniper Series
AMD Radeon R9 280 @ 3 GB | 120GB SSD | Windows 7 Ultimate x64 (SP1)
Reply
#10
I'll do it in a bit. I told Nobbs I would the other day, but I never got around to it.
[Image: vwah44]
Gaming: Intel i7 3770k @ 4.2Ghz | R9 290 | 16GB RAM | 480GB(240GB+240GB RAID0) SSD | 3 TB HDD | 1 TB HDD | 500GB HDD
Server: AMD FX 6300 @ 4.4Ghz | GTX 670 | 16GB RAM | 240GB SSD | 320GB HDD
PCSX2 General Troubleshooting FAQ
Reply




Users browsing this thread: 1 Guest(s)