Based on
ctrulib's sooscode, we need to search for the hex value (82 03 00 00) (because the 3DS is little endian), and you can calculate the value you need to write by doing the following:
1) Look at
ctrulib's sooscode
2) Open a
calculator
3) Calculate the button combination:
] 1) For every button you want to be pressed take the bit number, do "1 lsh n" where "n" is the number in the BIT(n).
] 2) Add the numbers together
] 2/example) I want START + SELECT + TOUCH, so based on the sooscode, you'll need to calculate this: "1 lsh 2 + 1 lsh 3 + 1 lsh 20". The result will be 1048588
] 3) Convert it from
decimal to hexadecimal
] 4/1) If the result is not even length, put a 0 in front of the number
] 4/2) Split the number into 2-long portions
] 4/3) Reverse the order
] 4/example) The above example's hexadecimal value is "10000C". It's even in length, so we move on. After I split it up, I got "10 00 0C". After I reversed it I got "0C 00 10".