A flexible sensor is disposed in a power tool. The flexible sensor has an electrical resistance that varies based on a radius of curvature of the flexible sensor. A trigger partially disposed in the power tool, operates to apply a bending force at an engagement point on the flexible sensor to bend the flexible sensor and alter the radius of curvature. A controller outputs an electrical signal to the power tool based on the electrical resistance to control a function of the power tool.