Compile Touchpose on debug build configuration only.
Add __unused to variables and method parameters.