WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: XGrabpointer + autohotkeyX_master  (Read 2457 times)

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
XGrabpointer + autohotkeyX_master
« on: October 18, 2015, 10:56:29 AM »
Hi, I'm playing fine in window mode but I need two more things to make my game well played.


First I need a auto-hotkey that will use keyboard shortcuts instead of manual clicking some gui-controls. Though I have already autohotkey in .exe it's not working that way because in window explorer mode of WINE only one instance is active even I have multiple instance inside it. The only option is to make from scratch a global auto-hotkey that will be run in linux system by installing this, but I do not know how to... https://codeload.github.com/tinku99/ahkx/zip/master

Quote

    /*
    AutoHotkeyX

    Copyright 2003-2009 Naveen Garg (naveen.garg@gmail.com)

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    */
    dependencies: xdotool, wine-dev, libx11-dev, libxt-dev
    also see debian/control


    ./build
    ./run scriptname


The second thing I need, because I'm in window mode and my cursor tends to slip outside the game window is a cursor lock app, again I have that ( Cursor_Lock_2.6.1, WMC_1.2.3) but It's not working in wine even I installed mono or .NET 2.0.  The only option I have is this http://www.x.org/archive/X11R6.8.2/doc/XGrabPointer.3.html#toc But I'm confused about it's variables, I don't know what to fill. Thanks