Retrohacked Posted December 14, 2021 Share Posted December 14, 2021 Thanks to olli for giving me free rein to add cool new stuff and thanks to Red for the keyboard emulation research & implementation Newly added commands with this version are below. If you are not using any of this functionality then feel free to stick with 1.6. Functionality: - pointer <first (main) jump> <additional jumps> !!do not add the last jump in pointerexpr here, add it yourself!! (returns the pointer at the end nb: return value is in little endian) - pointerAll <first (main) jump> <additional jumps> <final jump in pointerexpr> (as above) - pointerPeek <amount of bytes in hex or dec> <first (main) jump> <additional jumps> <final jump in pointerexpr> - pointerPoke <data to be sent> <first (main) jump> <additional jumps> <final jump in pointerexpr> - freeze <offset> <data> - unFreeze <offset> - freezeCount (returns the amount of freeze slots use by the sysmodule, max is 255) - freezeClear (removes all freezes) - freezePause - freezeUnpause - touch followed by arrayof: <x in the range 0-1280> <y in the range 0-720>. Array is sequential taps, not different fingers. - touchHold <x in the range 0-1280> <y in the range 0-720> <time in milliseconds (must be at least 17ms)> - touchDraw followed by arrayof: <x in the range 0-1280> <y in the range 0-720>. Array is vectors of where finger moves to, then removes the finger. - key followed by arrayof: <HidKeyboardKey> to be pressed in sequential order - keyMod followed by arrayof: <HidKeyboardKey> <HidKeyboardModifier>(without the bitfield shift) to be pressed in sequential order - keyMulti followed by arrayof: <HidKeyboardKey> to be pressed at the same time. Config: - configure keySleepTime <time to sleep in between keypresses in ms (default is 25ms)> - configure fingerDiameter <finger diameter in the range 0-150 (default is 50)> - configure pollRate <pollrate wait time to be used by the touch and key commands (default is 17ms)> - configure freezeRate <freezeRate (default is 3ms)> Most of the defaults are based on minimum pollrates for system applets. Both keySleepTime & pollRate should be set to a higher number if using an in-game keyboard as these are usually tied to framerate.View the full article Link to comment Share on other sites More sharing options...
Recommended Posts