What exactly is hardcoded? Because It should set correct device based on it's name with using evtest program.
My problem was that when exporting TSLIB_TSDEVICE as /dev/input/eventN (hardcoded in ts_env or autodetected) it didn't survive turning the screen off and on. eventN changes, ts_uinput hangs or dies when the dev dissapears, and had to be manually tinkered to restart properly. udev automates all these: symlinking TSLIB_TSDEVICE=/dev/touchscreen to correct eventN and start/stopping the service on plug-unplug.
(By the way, thx a lot for this neat piece of work, I was brooding on how to make this screen work on LE until I found this)