Page 4 of 4 FirstFirst ... 234
Results 31 to 37 of 37

Thread: qjoypad installation on breezy

  1. #31
    Join Date
    Sep 2006
    Beans
    26

    Re: qjoypad installation on breezy

    I have seen this done previously with other key to joystick programs (joytokey). I am sure this would be possible with this program. Might need to alter the program. Might want to send this suggestion to the developer located on this site: http://qjoypad.sourceforge.net/

    Even though the program isn't updated often, I still think its a start for us. Much appreciative Nathan Gaylinn, Thanks.

  2. #32
    Join Date
    Mar 2008
    Beans
    1

    Re: qjoypad installation on breezy

    As far as I know Nathan is not developing this program anymore though I think he will answer the odd polite question via E-Mail

    I have not bothered him yet. What I would like to know is....

    Okay this program can produce physical KEY code output as default. This is great in a lot of cases however, what about the modifier keys?

    Is there a command line switch to allow or force system code outputs?
    as in (Shift+1) = ! not as it stands right now as (Shift+1) = (Shift)

  3. #33
    Join Date
    May 2007
    Beans
    13

    Re: qjoypad installation on breezy

    I managed to compile the sources from:
    http://sourceforge.net/project/showf...ease_id=460265

    modify the loop.cpp on line 34 first!
    change
    usleep(1) to
    usleep(100).
    10000, like mentioned earlier, was far too much for me.

    to get rid from error: /usr/bin/ld: cannot find -lXtst
    install libxtst-dev

    i am on gutsy.

  4. #34
    Join Date
    Jun 2006
    Beans
    140
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: qjoypad installation on breezy

    about line 34 in /joypad-3.4.1/src/loop,cpp
    usleep(XXXX), where XXXX is in microseconds(10^-6)
    http://linux.die.net/man/3/usleep
    http://en.wikipedia.org/wiki/Microsecond

    most monitors are 60-120Hz. Doubling it, just because of some analog to digital rule I heard of (not that it really applies here(or does it?)) and then doubling it again for the heck of it, followed by dividing by ((10^-6)_s). Mines 60Hz so 240Hz, (1_s/240) divide that by ((10^-6)_s) and get 4166+2/3 take the integer part of that number and get 4166. That's the number I'm trying first.

    p.s. I'm on 8.04_64_KUbuntu (not that it matters)
    -
    Tried it out(4166), according to KDE System Guard, afterwards for qjoypad CPU usage went down to about 0% most of the time, maxing out at around 1.00% User and 1.00% System.
    -
    2.2GHz Intel Dual Core 2, 64 bit, 8.04 KUbuntu

    -

    The default USB data rate is 125Hz(but some overclock to 1000Hz), (1_s/125)/((10^-6)_s)=8000, so maybe the ideal setting (for USB joysticks) would be 8000-X, where X is the maximum time in microseconds it takes for this program to do its thing. Anybody know how to find X?
    Last edited by BryanFRitt; July 10th, 2008 at 04:30 PM. Reason: added in USB data rate information

  5. #35
    Join Date
    Jan 2008
    Location
    Whenever the food is.
    Beans
    1,203
    Distro
    Kubuntu

    Re: qjoypad installation on breezy

    Code:
    arho@ohra-laptop:~$ qjoypad
    bash: qjoypad: command not found
    arho@ohra-laptop:~$
    How can I make it so when I type qjoypad it runs qjoypad?

    I downloaded and installed the source rpm with your instructions.
    Also, I had no idea where to get the icons to link, so I made some.
    And I didn't have that pixmaps or qjoypad folder in my /usr/local/share.
    Last edited by crazyfuturamanoob; November 3rd, 2008 at 02:45 PM.
    Keyboard not found!

    Press any key to continue...

  6. #36
    Join Date
    Feb 2008
    Beans
    34
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: qjoypad installation on breezy

    Ya know yall don't need to do anything fancy to compile this program. The dependencies were just renamed.

    See: http://ubuntuforums.org/showthread.php?t=1147506

    This works for jaunty and probably Interepid and Hardy.

    Code:
    sudo apt-get install build-essential qt3-dev-tools libxtst-dev joystick jscalibrator
    Then compile it normally.

    Thanks for the loop.cp mod. If I can figure out the correct checkinstall syntax I'll make a working x64 deb and post it, along with the syntax for making a working x32 deb so one of you kind folks can post one of them.

    -Tom
    Last edited by Siggma; May 8th, 2009 at 06:59 PM. Reason: Added code wrapper

  7. #37
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,553
    Distro
    Ubuntu Budgie Development Release

    Re: qjoypad installation on breezy

    Can you start a new thread about this? Then I can close this really old thread. (with staff blessing ofcause).


    regards
    A.I. Dude
    Ubuntu Forum Staff

Page 4 of 4 FirstFirst ... 234

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •