How to get RGB data from PC to Leonardo keyboard library ?

Hello everyone, I am building an RGB keypad with 6 buttons using keyboard library. And have created a program using python to send RGB and LED pattern data through USB HID library.
I would like to know if there is a way to read configuration data in keyboard library.
I dont want to use serial port for communication.

is there any function like Keyboard.Read() (in contrast to Keyboard.write)

Thank you

More to the point, does the HID system support bi-directional communication? I think not. Look at the Python side and you will probably find no "write" method there.