Coder Social home page Coder Social logo

jkeys's People

Watchers

 avatar

jkeys's Issues

NameError: global name 'gethatcode' is not defined

What steps will reproduce the problem?
1. install ltris
2. use the default config
3. ./jkeys example-config.joy ltris

What is the expected output?
the keys should be simulated

What do you see instead?
an execption:
-------
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 808, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 761, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/mnt/daten1/linux/home/benutzername/programme/0_gamepad/jkey/jkeys-read-only/joystick.py", line 115, in run
    res = gethatcode(ev)
NameError: global name 'gethatcode' is not defined
------

What version of the product are you using? On what operating system?
release from 6.12.2013
os: ubuntu 13.10 x86_64

Original issue reported on code.google.com by [email protected] on 7 Dec 2013 at 10:43

No sound in Stepmania 3.9 when started from jkeys

What steps will reproduce the problem?
1. Starting Stepmania (3.9) with jkeys makes stepmania to complain about
sound device unavailable i finally Stepmania doesn't start.
2. Starting Stepmania without jkeys, everything is ok, the program finds
sound device and starts

Output from Stepmania:
"Error: Couldn't find a sound driver that works"

LinuxBox, latest svn.

PS.
Is it possible to fix with jkeys dance pads axis problem, when you can't
push both directional buttons because it sees them as axis not buttons.
However axis after calibration shows for left_low=-32767, left_high=32767,
both pressed=255, same for up and down.

Thank in advance.

Original issue reported on code.google.com by [email protected] on 3 Nov 2009 at 4:09

After a few presses on the joystick it stops working

What steps will reproduce the problem?
1. Create a configuration file
2. Start jkeys using the configuration file and firefox
3. Start playing (works only for the first few button presses)
4. jkeys stops working

What is the expected output? What do you see instead?
It should continue working as expected, but instead it stops working after a 
few button presses.

What version of the product are you using? On what operating system?
I synced to the latest version from the svn repo. I am on 64 bit Ubuntu 9.10 
(Karmic) with 2.6.31-22-generic kernel.

Please provide any additional information below.
Joystick mappings found : 
 - axis 7 direction low mapped to key Return
 - axis 7 direction high mapped to key Shift
 - button 1 mapped to key 2
 - button 0 mapped to key 1
 - button 3 mapped to key 3
 - button 2 mapped to key 4
 - button 4 mapped to key 5
Starting application
['firefox']

(firefox:7558): GLib-WARNING **: g_set_prgname() called multiple times
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/dhruva/Games/jkeys/joystick.py", line 115, in run
    res = gethatcode(ev)
NameError: global name 'gethatcode' is not defined

Original issue reported on code.google.com by [email protected] on 13 Jul 2010 at 4:41

Mac OS

Can this be ported to mac os?

I noticed that it uses xlib. can the x specific stuff be taken out so it can be 
used on mac os.

Original issue reported on code.google.com by [email protected] on 12 Nov 2010 at 9:36

Axes Thresholds

Does it support having the axes on the joysticks to send key event based on 
going passed a certain point along an axis.

Original issue reported on code.google.com by [email protected] on 12 Nov 2010 at 9:38

jkeys blocks sound on stepmania 4

What steps will reproduce the problem?
1. Start stepmania without jkeys > normal sound, dancepad not recognized
2. Start stepmania with jkeys > dancepad recognized, no sound

I was surprised that the program had any effect on sound output. Is there
some way to use jkeys and keep audio?

I am using jkeys on ubuntu 9.10 and 9.04





Original issue reported on code.google.com by [email protected] on 29 Sep 2009 at 2:13

not work on Fedora 15

What steps will reproduce the problem?
1.  ./jkeys example-config.joy armacycles
Joystick mappings found : 
 - axis 1 direction low mapped to key Up
 - axis 1 direction high mapped to key Down
 - axis 0 direction low mapped to key Left
 - axis 0 direction high mapped to key Right
 - button 10 mapped to key p
 - button 1 mapped to key Return
 - button 0 mapped to key Space
 - button 3 mapped to key b
 - button 2 mapped to key a
 - button 5 mapped to key d
 - button 4 mapped to key c
 - button 7 mapped to key x
 - button 6 mapped to key z
 - button 9 mapped to key Escape

Remote lirc mappings found :
 - button OK mapped to key Return
 - button Stop mapped to key Escape
 - button Pause mapped to key p
 - button Up mapped to key Up
 - button Down mapped to key Down
 - button Right mapped to key Right
 - button Left mapped to key Left
Starting application
['armacycles']
irkeys: could not connect to socket
irkeys: No such file or directory
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 530, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 483, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/gabriele/jkeys/jkeys-read-only/lirc.py", line 76, in run
    if(pylirc.init("irkeys", self.config_file, 0)):
RuntimeError: Unable to initialize lirc!

Traceback (most recent call last):
  File "./jkeys", line 35, in <module>
    sys.exit(subprocess.call(sys.argv[2:]))
  File "/usr/lib64/python2.7/subprocess.py", line 486, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib64/python2.7/subprocess.py", line 672, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1202, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 Jul 2011 at 8:49

"Virtual" in other sense joystick functionality

Not exactly issue, rather wish to extend functionality.

Problem: stumbled upon particular game (linux port of Descent Freespace 2), 
input code of which allows only one joystick. Judging by googled out posts in 
miscellaneous related forums i'm not the only one that is hurt by that with 
having joystick/rudder pedals/trackir as separate devices and are upto mercy or 
free development resources of particular programs/games to rewrite their input 
layer to support multiple devices.
Hence i wonder - if it's possible to write some code, that lists all the 
capabilities/axis/buttons/hats from actual devices, and presents all of them in 
one, "virtual joystick"? I see it like making real joystick device files 
unreadable directly by user via setting permissions on them, but readable to 
some joystick virtualisation software, eg. yours :), that simply passes forth 
and back from real devices to virtual unified one. Probably only some 
duplicated button/or other control ID incrementing needed apart from blind 
passing of data to/from real ones + presenting some device ID of it's own.

As your software seems a bit related to this field, i decided to post here and 
ask on what you think about adding such functionality to it?

Original issue reported on code.google.com by [email protected] on 9 May 2012 at 12:30

works great (except with Bub Brothers)

I wrote a very simple code that works great with other games, but it does not 
work with Bub Brothers in Ubuntu 10.10. I know very little about computers, but 
does it have something to do with the fact that the game (although it runs on 
the computer) needs to open a browser in order launch the game?

This is the only message I get in the command line that is different from the 
ones I get when playing other games.

Thanks a lot!
III

Starting application
['bubbros']
Running on Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) 
[GCC 4.4.5]
Trying to open 'http://127.0.0.1:8000/0x8e3c/' with 'gnome-open'...
Done running 'gnome-open'.

------------------------------------------------------------
If the browser fails to open the page automatically,
you will have to manually go to the following URL:
  http://127.0.0.1:8000/0x8e3c/
------------------------------------------------------------
Note that the server runs in the background. You have to use
the 'Stop this program' link to cleanly stop it.
Normally, however, running this script multiple times should
not create multiple servers in the background.


Original issue reported on code.google.com by [email protected] on 6 Dec 2012 at 4:11

Xbox 360 controller with working axis?

   I would love it if someone would post ANY working configuration of an Xbox 360 controller.  That way I can check it against my configuration.  I've tried all button numbers and configurations that I can think of, includeing calling them hats, mouse axis' and standard axis'.  
On the other hand, I've had a lot of fun using my logitech controller with 
minor bugs.  If anyone is interested, I have posted a configuration file for 
that that works like a charm on Vulture-nethack.  But with the 360 controller, 
I come up empty every time.
   One thing I have noticed with the Logitech controller is that if you use every OTHER button instead of the "mouse Click" first, the mouse click button won't freeze.  Otherwise the controller commands will all freeze about half the time.
   Awesome project!  Thanks for any help you may be able to lend.

Original issue reported on code.google.com by [email protected] on 10 Feb 2012 at 11:03

Attachments:

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.