[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Joystick



Just try running the compilation instruction so I can play with the source code and now pygame will not import.
All I get is

Python 2.7.3 (v2.7.3:70274d53c1dd, Apr  9 2012, 20:52:43) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py", line 95, in <module>
    from pygame.base import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so, 2): no suitable image found.  Did find:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so: mach-o, but wrong architecture

what have i done, know i cannot get pygame to import at all.

On Nov 22, 2012, at 8:20 PM, claudio canepa <ccanepacc@xxxxxxxxx> wrote:



On Fri, Nov 23, 2012 at 12:10 AM, Stephen Smitherman <srsmitherman@xxxxxxxxx> wrote:
Good Day,
Does anyone know what I can do to work on this project?
I have been able to successfully write a script to use the Playstation 3 controller via bluetooth on a Mac implementing pygame.Joystick. I am loosing many functions of the controller though because the joystick class is limited to typical joystick definitions. How can i get a copy of the joystick source to improve it to allow full six axis functionality.

Thanks

Stephen Smitherman

pygame source lives in a public mercurial repository:

Compilation instructions are over