Use a similar technique when using the mouse or a stylus. For us, the mouse has caused the most problems. The workload is concentrated on one hand and often one finger instead of being distributed. Combine this with a work surface which is too high and it will contribute to shoulder and neck problems. Gripping the mouse too tightly and using excessive force to click is harmful.
Trackballs can be worse because they rely on fine wrist and finger motion even more.
Do not rest your wrist and forearm on the table while moving the mouse. This makes the wrist and hand do all the work that must be shared with the arm and shoulder. Move your entire arm and not just your wrist or fingers. A wrist rest should be used as a guide and your whole arm should float above it. The same rules apply when using a stylus.