Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic record and play functionality #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

lvidarte
Copy link
Owner

@lvidarte lvidarte commented Feb 7, 2017

This is an experimental branch to add ps3 automation for two adapaters

Some code need to be rewrite/enhaced, for example: I'm using a fixing array of 1500 items to store the events, or I'm calling twice to gpoll() function for the second adapter. So this is a WIP :)

This code adds two new params to gimx: --record and --play

My config file is here

Use examples

Launch gimx as normal mode, for two adapters:

./gimx-start-dual

Before that, you need to change the following variables in gimx-start-dual:

CONFIG_FILE="ps3-dual.xml
HOST_MAC="90:34:FC:DF:8A:E6"

ADAPTER_1_HCI=1
ADAPTER_1_MAC="08:A9:5A:26:3B:51"

ADAPTER_2_HCI=2
ADAPTER_2_MAC="34:C7:31:9C:9D:4E""

Launch gimx for record events:

./gimx-start-dual --record events

Play events from file:

./gimx-start-dual --play events

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant