Ok. once again and again and again. What You find as complicated as binomial theorem?
1. run getevent ini adb shell
2. copy/paste it's output to file on PC
3. run script which contents one line cat $1 | gawk --non-decimal-data '{print $1, ("0x"$2)+0, ("0x"$3)+0, ("0x"$4)+0}' | sed 's/://g;s/^/sendevent /g' as
convert.sh file.in > file out4. put file.out on SD-card
5. Source it with Run Shell action
Let's search, research, and try DIY before giving up....