How do I read whether the buttons are pressed, while the Hold switch is enabled?
I'm assuming I have to hook the kernel version of the sceCtrlReadBufferPositive function, but the problem is the NIDs for the _driver version are changed and they are not updated for 5.00 http://silverspring.lan.st/5.00/kd/ctrl.xml so I don't even know which function is which to try and hook.
Is this the way to do it? Hooking the _driver function? Or is there some other way?
Read buttons while Hold switch on?
Not sure if this will help but posting the link can't hurt http://forums.maxconsole.net/showthread.php?t=78436
If you use sctrlHENFindFunction, the nids resolver will also apply to it and it will find correct address.
Anyways, in this concrete case, that function is very easy to locate from a prxtool disassembly of ctrl.prx. Just locate the sceCtrlReadBufferPositive of the user library whoe nid is unchanged, and you will find there the alias name which has the kernel nid.
Anyways, in this concrete case, that function is very easy to locate from a prxtool disassembly of ctrl.prx. Just locate the sceCtrlReadBufferPositive of the user library whoe nid is unchanged, and you will find there the alias name which has the kernel nid.
-
- Posts: 18
- Joined: Wed Nov 28, 2007 4:18 am