Perhaps it's the S4...
I wonder if it might be a problem with the S4 and not the sixaxis app. I tried two other controller applications and had the same problem with each one. I could do everything except use the right analog.
EDIT: Might also just be my root since I've seen videos of correctly working controller apps on the S4... Can I ask what root you used?