Swift-Keylogger – Keylogger for MacOS written in Swift using HID
It doesn't log passwords using EnableSecureEventInput. 
There are probably other use cases, but Apple seems to have implemented things rather well here.