Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Controlling Synaptics Touchpad using COM API


  • Please log in to reply
50 replies to this topic
sreenidhy
  • Members
  • 1 posts
  • Last active: Oct 03 2012 07:55 PM
  • Joined: 03 Oct 2012
I was reading through this post in the forum. I found out that this some really cool stuff. I would be interested to know if there is a Synaptics SDK for linux. I am using ubuntu 12.04 and would be interested to capture raw touchpad input and perform some interesting tasks.

Thanks for the help.

jessenic
  • Members
  • 1 posts
  • Last active: Dec 07 2012 05:58 PM
  • Joined: 06 Dec 2012

Anyone figured out how to get multitouch touch points? It would be great if you could get the number of a touch point from touchpacket.

 

I'm currently working on a Windows 8 Synaptics to Touch app in C#: https://github.com/D...ynapticsToTouch



arnab321
  • Members
  • 2 posts
  • Last active: Jan 04 2013 07:47 PM
  • Joined: 29 Dec 2012

How do u detect a 1 finger tap event properly? i tried this in visual c++:

 

 

 

long CBezelTestDlg::OnSynDevicePacket(long lSeq)
{
m_Device->LoadPacket(m_Packet);
static long x,y;

bool fs=m_Packet.IsTap() ;

if( fs){

static int c=0;
x=m_Packet.GetLongProperty(SP_XRaw);
y=m_Packet.GetLongProperty(SP_YRaw);
CString s;
s.Format(_T("%d %d %d"), ++c,y,x);

GetDlgItem(IDC_EDIT)->SetWindowTextA(s);

doStuff();
return 0;
}

 

but for each single tap, the counter "c" increases by 10. i.e. doStuff() wll be called 10 times for each tap. Is this normal? Im using the latest synaptics drivers from synaptics website.



arnab321
  • Members
  • 2 posts
  • Last active: Jan 04 2013 07:47 PM
  • Joined: 29 Dec 2012

even if i do 

 

bool fs= m_Packet.GetLongProperty(SP_FingerState) & SF_FingerTap2;

c increments by 10 for each 2 finger tap. 



chaidy
  • Members
  • 57 posts
  • Last active: Oct 21 2015 05:53 PM
  • Joined: 20 Apr 2010
good

ahmed_ais
  • New members
  • 1 posts
  • Last active: Sep 21 2016 04:43 PM
  • Joined: 10 Aug 2015

Hello everyone, this is really interesting topic!

Although I'm not using AHK at the moment and prefer C++ for my intention to deploy a dll once I'm done, but I guess posting here is relevant as I can't see another good topic about Synaptics SDK on the web. I was wondering how to simulate an event like 1F tap? As far as I understand it should be done through a packet but I'm not successful at doing this. Any help? thanks!