rafalp Posted December 26, 2011 Share Posted December 26, 2011 (edited) I want to start a topic about accelerometer system in laptop e.g. Lenovo ThinkVintage Active Protection. I think our community could do a useful and interesing programs with this system. But I'm newly with autoIT, and maybe someone can pull this subject farther.My research and usefull links:Script in Perl:http://svn.bulknews.net/repos/public/thinkpad-saber/trunk/thinkpad-saber.plExamples and about Win32 dll:http://www.thinkwiki.org/wiki/Active_Protection_Systemhttp://www.thinkwiki.org/wiki/HDAPSSample about "ShockMgr" and shockprf.syshttp://www.paul.sladen.org/thinkpad-r31/accelerometer.htmlSample in C++ and ASM (Polish lang):http://www.programuj.com/forum/viewtopic.php?p=48947In windows we got DLL's responsible for accelerometer:C:WindowsSysWOW64Sensor.DLLC:Program Files (x86)ThinkPadTpShocksTpShLP.dllI also using DLL Export View to check and that DLL's have usefull method, but I don't know how to go on with them.I made simple code:$dll = DllOpen("C:Program Files (x86)ThinkPadTpShocksTpShLP.dll") ;$dll = DllOpen("C:WindowsSysWOW64Sensor.DLL") MsgBox(4096, "Status", $dll, 5) $ret = DllCall($dll, "int:cdecl", "LP_GetStatus","int",1) MsgBox(4096, "Status", @error, 5)But I got errors, and I'm not sure is it a good method to start.I look forward for opinion whose interested of this topic. Edited December 26, 2011 by rafalp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now