2013年8月9日 星期五

Create Google Breakpad Symbol file

#!/bin/sh

MODULE=""
ID=""
LIB=""
SYM=$1.sym
SYM_DIR=""

for SO in $(find obj/local -mindepth 1 \( -name $1 -a -prune -type f \) -print)
do
        dump_syms $SO > $SYM
        MODULE=$(head -n 1 $SYM)
        ID=$(echo $MODULE | awk '{print $4}')
        LIB=$(echo $MODULE | awk '{print $5}')
        SYMDIR=symbols/$LIB/$ID
        mkdir -p $SYMDIR
        mv $SYM $SYMDIR
done

2013年4月7日 星期日

ps3 controller official driver

In brief: 
Sony just put official ps3 controller driver in Playstation Mobile Development Kit.
You just only need to register an account to be a developer and you can download it.
Following the instruction then you can use ps3 controller on your PC.