📄 readme.txt
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -