I have read this doc
But in win32con module,there is no key called WM_XBUTTONUP.And I also find a doc.
And finally I found win32con.VK_XBUTTON1 existed,But I didn't found WM_XBUTTONUP.I also found VK_UP so I tried to use it to replace WM_XBUTTONUP.
Now all my code is:
import win32api,win32con
win32api.mouse_event(win32con.VK_XBUTTON1|win32con.VK_UP,0,0,0,0)
But when I run it,My mouse button will don't work. What should I do?