TA的每日心情 | 开心 2024-3-12 10:11 |
---|
签到天数: 1 天 [LV.1]初来乍到
VIP会员
- 积分
- 873
|
主要测试下自定义按键开关金手指功能0x1842080是金手指添加的地址,可以看代码实现
hook原先的scePadReadState函数,添加自定义代码判断L1+十字键左键功能实现金手指开关
具体按键定义参见pad.h文件
SCE_PAD_BUTTON_L3 = 0x00000002,
SCE_PAD_BUTTON_R3 = 0x00000004,
SCE_PAD_BUTTON_OPTIONS = 0x00000008,
SCE_PAD_BUTTON_UP = 0x00000010,
SCE_PAD_BUTTON_RIGHT = 0x00000020,
SCE_PAD_BUTTON_DOWN = 0x00000040,
SCE_PAD_BUTTON_LEFT = 0x00000080,
SCE_PAD_BUTTON_L2 = 0x00000100,
SCE_PAD_BUTTON_R2 = 0x00000200,
SCE_PAD_BUTTON_L1 = 0x00000400,
SCE_PAD_BUTTON_R1 = 0x00000800,
SCE_PAD_BUTTON_TRIANGLE = 0x00001000,
SCE_PAD_BUTTON_CIRCLE = 0x00002000,
SCE_PAD_BUTTON_CROSS = 0x00004000,
SCE_PAD_BUTTON_SQUARE = 0x00008000,
SCE_PAD_BUTTON_TOUCH_PAD = 0x00100000,
SCE_PAD_BUTTON_INTERCEPTED = 0x80000000
原版(下载太早了,可能是这个版本)
金手指 (L1+十字键左键)开启上帝模式,再按一次关闭
链接: https://pan.baidu.com/s/1aCd2rAfLfcVTSEnaKgTyKQ
|
评分
-
查看全部评分
|