This file is for developers using the Synaptics SDK to write C++ programs.
Building C++ programs with the SDK requires the following header and library
files:
SynKit.h
SynCom.h
SynComDefs.h
SynError.h
SynWraps.h
SynCom.lib
Programs should include SynKit.h which will in turn include the other
files.
Programs using the SynCreateAPI function to create SynAPI objects must
link against SynCom.lib. SynAPI objects can also be created using
CoCreateInstance. Programmers familiar with COM should use this technique
as it obviates the need to link against SynCOM.lib.
There are several sample Visual C++ 6.0 projects that can be used as a
starting point:
Comtest is a console program that shows how to access and manipulate
Synaptics device properties and how to register a system event to receive
device-related notifications.
BezelTest is an MFC based program that shows how to manipulate certain properties
related to rotation of a device's coordinate space.
SynView is a non-MFC windows program that shows how to receive data and
notifications from devices.
cPadClock is windows program that functions as a cPad application. The
application puts a digital clock on the cPad display.
cPadImage is windows program that demostrates how to load an image file (bitmap)
and draws the image onto the cPad display.
mfctest is an MFC based program that uses the Synaptics ActiveX controls
to access devices. This sample was constructed using the MFC Class Wizard to
import the type library in synctrl.dll. The class wizard was also used to
insert controls onto MFC dialogs.
KeyPad is a windows API program that places a 10 key pad on a cPad.
SynPlot is a windows API program that plots absolute TouchPad coordinates.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Synaptics SDK 1.0 (210个子文件)
Module1.bas 134B
Module1.bas 134B
BuildSamples.bat 1KB
RegisterDlls.bat 1KB
CleanSamples.bat 625B
dolphin.bmp 5KB
dragon.bmp 5KB
keypad.bmp 630B
num0.bmp 448B
enter.bmp 448B
div.bmp 320B
num3.bmp 320B
minus.bmp 320B
dot.bmp 320B
num6.bmp 320B
mult.bmp 320B
num5.bmp 320B
num1.bmp 320B
num4.bmp 320B
num2.bmp 320B
num7.bmp 320B
plus.bmp 320B
num8.bmp 320B
num9.bmp 320B
synlogo.bmp 246B
stop.bmp 246B
eraser.bmp 246B
pencil.bmp 246B
stop.bmp 246B
eraser.bmp 246B
pencil.bmp 246B
close.bmp 192B
exit.bmp 190B
clock.bmp 190B
cPadDraw.vbproj.GenerateResource.Cache 900B
cPadDraw.vbproj.ResolveComReference.cache 596B
SynSDK.chm 143KB
synctrl.cpp 15KB
KeyPad.cpp 10KB
cPadImage.cpp 10KB
BezelTestDlg.cpp 9KB
ChildView.cpp 8KB
ChildView.cpp 8KB
cPadClock.cpp 8KB
ComTest.cpp 6KB
DevicePage.cpp 5KB
DevicePage.cpp 5KB
Disabler.cpp 5KB
MainFrm.cpp 4KB
APIPage.cpp 4KB
MainFrm.cpp 4KB
SynView.cpp 4KB
SynPlot.cpp 4KB
APIPage.cpp 3KB
mfctest.cpp 3KB
GraphPage.cpp 3KB
GraphPage.cpp 3KB
syndevicectrl.cpp 3KB
synapictrl.cpp 2KB
BezelTest.cpp 2KB
LoggingPage.cpp 2KB
LoggingPage.cpp 2KB
StdAfx.cpp 298B
StdAfx.cpp 298B
StdAfx.cpp 296B
StdAfx.cpp 295B
StdAfx.cpp 230B
StdAfx.cpp 211B
StdAfx.cpp 211B
UpgradeReport.css 6KB
BezelTest.dep 489B
SynView.dep 453B
mfctest.dep 453B
SynPlot.dep 219B
ComTest.dep 181B
cPadClock.dep 164B
AxInterop.MSComctlLib.dll 124KB
SynCtrl.dll 108KB
SynCom.dll 76KB
Interop.SYNCTRLLib.dll 40KB
AxInterop.SYNCTRLLib.dll 16KB
mfctest.dsp 6KB
KeyPad.dsp 5KB
SynView.dsp 5KB
cPadClock.dsp 5KB
SynPlot.dsp 4KB
Disabler.dsp 4KB
cPadImage.dsp 4KB
ComTest.dsp 4KB
BezelTest.dsp 4KB
SynPlot.dsw 625B
BezelTest.dsw 543B
cPadClock.dsw 541B
cPadImage.dsw 541B
Disabler.dsw 539B
SynView.dsw 537B
ComTest.dsw 537B
mfctest.dsw 537B
KeyPad.dsw 535B
cPadDraw.vshost.exe 15KB
共 210 条
- 1
- 2
- 3
资源评论
mycatlove
- 粉丝: 6
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功