A driving tool, such as a fastening tool, with a driver, a motor, a flywheel driven by the motor, an actuator, an actuator member that is movable by the actuator, a trigger switch that is moveable by a trigger between an unactuated state and an actuated state, and a contact trip switch that is moveable by a contact trip between an unactuated state and an actuated state. The controller does not include power switches for controlling the operation of the motor and the actuator, but rather employs microswitches and control logic to determine when to activate the motor assembly and the actuator.