I need library to create press button or keys to window which display game, this is directx 8. I tried a lot library to this and not working. Maybe i have to use win32 ?
Yes, most likely. The problem is not specific to Rust, but specific to Windows. So look for solutions based on the Windows APIs for these things. Solutions for C or C++ should be possible to translate to Rust equivalents.