Comment by StilesCrisis

3 hours ago

They moved it to HIToolbox when Carbon framework was eliminated.

This was never provided by classic Mac OS and many apps hacked it in by hooking Get/WaitNextEvent. In Carbon they didn't support this sort of "mangle the global system callbacks" shenanigans, but there was a real developer expectation of this API, and Apple was begging developers to port to Carbon. This API filled that gap.