(Feature request)Call an input key in C++ or Blueprint

Ok, but could you show me the code in c ++ (the text) plz?