A computing device comprising: a processor configured to determine a gesture made by the computing device, the gesture determination based on motion of the computing device; a communication module configured to transmit a control signal to a luminaire including at least one solid-state light source for outputting light; wherein the control signal is adapted to control the light output based on the gesture determined by the processor, and wherein the control signal is based on a pitch angle ( θ pitch), when the gesture is a pitch gesture, which includes angularly lifting and lowering of the computing device to provide a continuous range of pitch angles ( θ pitch); and a gravitational sensor operatively coupled to the processor and configured to measure gravitational forces acting upon the computing device, wherein the gravitational sensor is configured to determine G x, G y, and G z, which represent gravitational forces acting upon each respective axis; wherein the processor is configured to perform a pitch angle ( θ pitch) determination; characterised by wherein the processor is configured to perform at least one correction of the pitch angle when determining the pitch angle ( θ pitch) to increase the accuracy of the pitch gesture when the computing device is not held flat when performing the pitch gesture, and wherein the processor is configured to perform the at least one correction based on a definition of the pitch angle ( θ pitch) as θ pitch = π 2 − arccos G y G x 2 + G y 2 + G z 2. a processor configured to determine a gesture made by the computing device, the gesture determination based on motion of the computing device; a communication module configured to transmit a control signal to a luminaire including at least one solid-state light source for outputting light; wherein the control signal is adapted to control the light output based on the gesture determined by the processor, and wherein the control signal is based on a pitch angle ( θ pitch), when the gesture is a pitch gesture, which includes angularly lifting and lowering of the computing device to provide a continuous range of pitch angles ( θ pitch); and wherein the control signal is adapted to control the light output based on the gesture determined by the processor, and wherein the control signal is based on a pitch angle ( θ pitch), when the gesture is a pitch gesture, which includes angularly lifting and lowering of the computing device to provide a continuous range of pitch angles ( θ pitch); and a gravitational sensor operatively coupled to the processor and configured to measure gravitational forces acting upon the computing device, wherein the gravitational sensor is configured to determine G x, G y, and G z, which represent gravitational forces acting upon each respective axis; wherein the processor is configured to perform a pitch angle ( θ pitch) determination; characterised by wherein the processor is configured to perform at least one correction of the pitch angle when determining the pitch angle ( θ pitch) to increase the accuracy of the pitch gesture when the computing device is not held flat when performing the pitch gesture, and wherein the processor is configured to perform the at least one correction based on a definition of the pitch angle ( θ pitch) as θ pitch = π 2 − arccos G y G x 2 + G y 2 + G z 2. wherein the gravitational sensor is configured to determine G x, G y, and G z, which represent gravitational forces acting upon each respective axis; wherein the processor is configured to perform a pitch angle ( θ pitch) determination; characterised by wherein the processor is configured to perform at least one correction of the pitch angle when determining the pitch angle ( θ pitch) to increase the accuracy of the pitch gesture when the computing device is not held flat when performing the pitch gesture, and wherein the processor is configured to perform the at least one correction based on a definition of the pitch angle ( θ pitch) as θ pitch = π 2 − arccos G y G x 2 + G y 2 + G z 2.