Skip to content

Using joysticks on game consoles #86

@Bazmundi

Description

@Bazmundi

I have a JXD S7800B and have been trying various combinations to try and read the joysticks.

http://www.jxd.hk/products.asp?id=639&selectclassid=009006

Best I can get is an error that dispatchGenericMotionEvent(MotionEvent) is undefined for the type PApplet.

Does this mean Processing for Android has not been built to pick up gamepad joysticks?

I have started by simply trying to modify:
jeffThompson / ProcessingTeachingSketches / Android / AdvancedTouchInteractions

(I changed out::

@OverRide
public boolean dispatchTouchEvent(MotionEvent event)

::and replaced with::

@OverRide
public boolean dispatchGenericMotionEvent(MotionEvent event)

::among other miner tweaks)

Any ideas? Help? A basic code fragment perhaps?

Cheers,
B

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions