How to get ctr and shift button state?

how to get ctr and shift button state when mousemotion and mousebutton events happened ?

https://wiki.libsdl.org/SDL_GetModState

Thank you very much.:+1: