readme.txt
来自「TouchPanel driver which encapsulate real」· 文本 代码 · 共 36 行
TXT
36 行
This is TouchPanel driver, which encapsulate original touch driver,
and add possibility to hook touch screen events (mostly times, using simple windows messages).
Before building, look registry key
\HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH\DriverName
if this value present, replace in source code
touch-driver-proxy.cpp:14
#define TOUCH_DRV_FN L"touch.dll"
touch.dll to value in registry.
Install:
copy builded touchpx.dll to \Windows folder, add to registry:
Code:
\HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH
DriverName='touchpx.dll'
reboot the phone.
Now you can call exported functions in touchpx.dll
TouchPanelProxyRegisterMessage and TouchPanelProxyUnregisterMessage
to register/unregister window that will process touch screen taps.
prototypes of this functions is:
bool TouchPanelProxyRegisterMessage(HWND cbHwnd, DWORD cbMessage);
bool TouchPanelProxyUnregisterMessage(HWND cbHwnd, DWORD cbMessage);
cbHwnd - windows handle which will recieve messages about screen taps
cbMessage - message id which will windows recieve.
message wParam is flags of screen event
message lParam is MAKELONG(x,y) screen cordinate.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?