Git Product home page Git Product logo

ibinputsimulator's Issues

Memory leaks on every success call of the `IbSendInit `

When user receives Send::Error::Success from IbSendInit function it means that send variable has been initialized with any of the 'SendTypes'. But when we stop the program it calls IbSendDestroy, or in my case I can call this function several times to reinit dll with another driver with calling IbSendDestroy before Init.
IbSendDestroy checks if send variable is not empty and calls send.release(). Which leads to the memory leak. I guess you call it because you got problems with inheritance and if you simply replace this line with main::send.reset() it will fail to destroy objects.
It can be also resolved by adding default destructor to Base class like:
virtual ~Base() = default;

示例程序无法正常工作

C:\L\C++\packages\IbInputSimulator-0.3\AhkDll\AhkDll.vcxproj : error : 找不到导入的项目“C:\L\C++\packages\IbWinCppLib\IbWinCppLib.props”。请确认 Import 声明“C:\L\C++\packages\IbWinCppLib\IbWinCppLib.props”中的表达式正确,且文件位于磁盘上。 C:\L\C++\packages\IbInputSimulator-0.3\AhkDll\AhkDll.vcxproj C:\L\C++\packages\IbInputSimulator-0.3\AhkDll.Test\AhkDll.Test.vcxproj : error : 找不到导入的项目“C:\L\C++\packages\IbWinCppLib\IbWinCppLib.props”。请确认 Import 声明“C:\L\C++\packages\IbWinCppLib\IbWinCppLib.props”中的表达式正确,且文件位于磁盘上。 C:\L\C++\packages\IbInputSimulator-0.3\AhkDll.Test\AhkDll.Test.vcxproj

Install Razer drivers without installing Razer Synapse

I also found that you can actually install the RzComDriver without Synapse. There are various logs generated by razer synapse and one of them is Manifest.log this contains an XML manifest of all software products from razer. I have a console app I wrote in c# that actually uses the C# API used by Razers software to download the same Manifest file.

Within the Manifest, there is a link to the full Razer Synapse install (eg: https://cdn.razersynapse.com/1665042231FcnE6gEARazerSynapseSetup_v3.7.1015.100615.exe).

This exe is in a format that can be extracted from and within the $PLUGINSDIR RzComDriver_vx.x.xx.x.exe exists which is the Razer Common Control Driver.

image

image

Originally posted by @ChrisKader in #6 (comment)

alt and shift keys issue

i cant seem make alt or shift keys work am i doing wrong?

alt 3 for example
please help thank you

 IbSend("{alt down}")
 sleep, 40
 IbSend("{3 down}")
sleep, 60
IbSend("{3 up}")
sleep, 60
IbSend("{alt up}")

how to mouse move?

i cant seem make it work please help

loot()
{
  pixelSearch, lootX1, lootY1, 744, 341, 836, 458, 0x6B29A5, 0, Fast RGB
  if(ErrorLevel) {
  return
} else if(!ErrorLevel) { 

Newlootx1 := lootX1 + 20
Newlooty1 := lootY1 + 40
IbSendMouseMove("{%Newlootx1%, %Newlooty1%}")     ;---------- i cant make it work
sleep, 150
IbSend("{click down}")
sleep, 30
IbSend("{click up}")
sleep, 500
return
    } else {
        sleep, 10
        return
    }
}

edit:
this seems to work if i specified my coords
IbSend("{click 1179 83 0}")

but i cant make this work
IbSend("{click %NewlootX% %NewlootY% 0}")

any ideas T_T

Install LGS drivers without installing LGS

"C:\Program Files\Logitech Gaming Software\Drivers\Installers\DifxInstaller.exe" install "C:\Program Files\Logitech Gaming Software\Drivers\USBAudio\lgAudio.inf" DRIVER_PACKAGE_FORCE
"C:\Program Files\Logitech Gaming Software\Drivers\Installers\DifxInstaller.exe" install "C:\Program Files\Logitech Gaming Software\Drivers\LGSBulk\LGPBTDD.inf" DRIVER_PACKAGE_FORCE
"C:\Program Files\Logitech Gaming Software\Drivers\Installers\DifxInstaller.exe" install "C:\Program Files\Logitech Gaming Software\Drivers\LGSHidFilter\LGSFMouHID.inf" DRIVER_PACKAGE_FORCE
"C:\Program Files\Logitech Gaming Software\Drivers\Installers\DifxInstaller.exe" install "C:\Program Files\Logitech Gaming Software\Drivers\LGSHidFilter\LGSFUsbFilt.inf" DRIVER_PACKAGE_FORCE
"C:\Program Files\Logitech Gaming Software\Drivers\Installers\DifxInstaller.exe" install "C:\Program Files\Logitech Gaming Software\Drivers\VirtualBus\LGBusEnum.inf" npnp=root\LogiGamePanelVirtualBus DRIVER_PACKAGE_FORCE
"C:\Program Files\Logitech Gaming Software\Drivers\Installers\DifxInstaller.exe" install "C:\Program Files\Logitech Gaming Software\Drivers\VirtualBus\LGVirHid.inf" DRIVER_PACKAGE_FORCE
"C:\Program Files\Logitech Gaming Software\Drivers\Installers\DifxInstaller.exe" install "C:\Program Files\Logitech Gaming Software\Drivers\LGJoyHid\LGJoyHid.inf" DRIVER_PACKAGE_FORCE
"C:\Program Files\Logitech Gaming Software\Drivers\Installers\DifxInstaller.exe" install "C:\Program Files\Logitech Gaming Software\Drivers\LGJoyHid\WinUSB\LGJoyWinUsb.inf" DRIVER_PACKAGE_FORCE
"C:\Program Files\Logitech Gaming Software\Drivers\Installers\LGCoreTempInstall.exe" /S /company=Logitech
"C:\Program Files\Logitech Gaming Software\Drivers\Installers\Install_apo.exe" --remove 1 --inf "C:\Program Files\Logitech Gaming Software\Drivers\USBAudio\lgAudio.inf"
"C:\Program Files\Logitech Gaming Software\Drivers\Installers\Install_apo.exe" --repair --inf "C:\Program Files\Logitech Gaming Software\Drivers\USBAudio\lgAudio.inf"

"regsvr32" /s "C:\Program Files\Logitech Gaming Software\SDK\LCD\x86\LgLcdApi.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\SDK\LCD\x64\LgLcdApi.dll"
 /s "C:\Program Files\Logitech Gaming Software\SDK\LCD\x64\LgLcdApi.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\SDK\G-key\x86\LogitechGkey.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\SDK\G-key\x64\LogitechGkey.dll"
 /s "C:\Program Files\Logitech Gaming Software\SDK\G-key\x64\LogitechGkey.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\SDK\LCD\x86\LogitechLcd.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\SDK\LCD\x64\LogitechLcd.dll"
 /s "C:\Program Files\Logitech Gaming Software\SDK\LCD\x64\LogitechLcd.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\SDK\LED\x86\LogitechLed.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\SDK\LED\x64\LogitechLed.dll"
 /s "C:\Program Files\Logitech Gaming Software\SDK\LED\x64\LogitechLed.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\SDK\Arx Control\x86\LogitechGArxControl.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\SDK\Arx Control\x64\LogitechGArxControl.dll"
 /s "C:\Program Files\Logitech Gaming Software\SDK\Arx Control\x64\LogitechGArxControl.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\SDK\SteeringWheel\x86\LogitechSteeringWheel.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\SDK\SteeringWheel\x64\LogitechSteeringWheel.dll"
 /s "C:\Program Files\Logitech Gaming Software\SDK\SteeringWheel\x64\LogitechSteeringWheel.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\Drivers\USBAudio\LGCapturePropPage.dll"
 /s "C:\Program Files\Logitech Gaming Software\Drivers\USBAudio\LGCapturePropPage.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\Drivers\USBAudio\LGRenderPropPage.dll"
 /s "C:\Program Files\Logitech Gaming Software\Drivers\USBAudio\LGRenderPropPage.dll"
"regsvr32" /s "C:\Program Files\Logitech Gaming Software\Drivers\USBAudio\LGSpeakerPropPage.dll"
 /s "C:\Program Files\Logitech Gaming Software\Drivers\USBAudio\LGSpeakerPropPage.dll"

"C:\Program Files\Logitech Gaming Software\Drivers\APOService\LogiRegistryService.exe" -install
"C:\Program Files\Logitech Gaming Software\Drivers\APOService\LogiRegistryService.exe" -start
C:\WINDOWS\system32\services.exe
"C:\Program Files\Logitech Gaming Software\Drivers\APOService\LogiRegistryService.exe"

"C:\WINDOWS\system32\regsvr32" /s "C:\Program Files\Logitech Gaming Software\Drivers\LGJoyHid\LgJoyFrc.dll"
 /s "C:\Program Files\Logitech Gaming Software\Drivers\LGJoyHid\LgJoyFrc.dll"
"C:\WINDOWS\SysWOW64\regsvr32" /s "C:\Program Files\Logitech Gaming Software\Drivers\LGJoyHid\LgJoyFrc32.dll"
"C:\WINDOWS\system32\regsvr32" /s "C:\Program Files\Logitech Gaming Software\Drivers\LGJoyHid\LGHppFrc.dll"
 /s "C:\Program Files\Logitech Gaming Software\Drivers\LGJoyHid\LGHppFrc.dll"
"C:\WINDOWS\SysWOW64\regsvr32" /s "C:\Program Files\Logitech Gaming Software\Drivers\LGJoyHid\LGHppFrc32.dll"
"C:\WINDOWS\system32\regsvr32" /s "C:\Program Files\Logitech Gaming Software\LGJoyDriverAPI.dll"
 /s "C:\Program Files\Logitech Gaming Software\LGJoyDriverAPI.dll"

"C:\Program Files\Logitech Gaming Software\Drivers\Installers\OverwolfInstallerLogitech.exe" -silent

awesome it bypass gameguard but how to controlsend?

im so amazed that it bypassed my gameguard for macro
most of keystroke and clicks working 100% perfectly

but can i ask how to controlsend(send keystroke to background) like this?
ControlSend, ahk_parent, {F2}, ahk_exe choboApp.exe

i tried this but i cant make it work
IbSend("ControlSend, ahk_parent, {F2}, ahk_exe choboApp.exe")

please help me.. thank you for awesome library!

您好,請問如何讓python使用IbAhkSend.dll?

如題,以下是萌新小弟我的代碼:

import ctypes
import os
import time

root = os.path.abspath(os.path.dirname(file))
driver = ctypes.CDLL(f'{root}/IbAhkSend.dll')
driver.IbSendInit("Logitech")

for i in range(5):

driver.IbSendKeybdDown('n')
driver.IbSendKeybdDownUp('n')  

print('press n')
time.sleep(1)

報錯:
OSError: exception: access violation reading 0x0000000000000000

雖然可能是個白癡問題,但還是請大佬指教一下~~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.