'''Harrison Davies''' the MX Keys keyboard uses IR proximity sensors.
+
'''Harrison Davies''' the MX Keys keyboard uses two proximity sensors. One is a proximity sensor that uses a magnetic field to turn on the backlighting and number two is a ambient light sensor, which adjusts the brightness to match the ambient light