Caps Lock keycode?

Does anyone know the keycode for the caps lock key on macOS?
I need to perform an action when the user presses that particular key, but cannot seem to find the keycode for it in the docs.

Thank you all in advance.

/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/Events.h

https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX10.6.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/Events.h

kVK_CapsLock = 0x39

So the keycode for caps lock is 0x39
Thank you, I appreciate the help.