Llama Free Fire

Am I right in thinking that, as this code I've copied wholesale as a example sketch in the IDE, it must therefore work for some people and therefore I am perhaps missing some library, or other prerequisite in the IDE, which that 'PS3' is calling? (I do have the latest version Ps3Controller library installed, and have also tried regressing to previous versions of it, didn't work).