compile use mingw g++

g++ .\inputmethod_icon_recognize.cpp -lgdi32 -static -o inputmethod_icon_recognize.exe
g++ .\analog_input_shift.cpp -o analog_input_shift.exe