Lego vehicle Explor3r controlled by PS4 gamepad (DualShock 4)
Build
Build Explor3r from these instructions.
Install
  - Pair your gamepad with EV3 by pressing and holding the PS button and the sharing button simultaneously.
 
  - Select “Wireless and Networks > Bluetooth > Start scan”, then choose “Wireless Controller”.
 
  - Copy ps4explor3r.py on to EV3 Brick.
 
  - Write in command line 
chmod +x ps4explor3r.py. 
  - Choose file from brickman menu or run from command line 
python3 ps4explor3r.py. 
  
    
      | Button | 
      Code | 
    
  
  
    
      | X | 
      305 | 
    
    
      | O | 
      306 | 
    
    
      | Triangle | 
      307 | 
    
    
      | Square | 
      304 | 
    
    
      | L1 | 
      308 | 
    
    
      | L2 | 
      310 | 
    
    
      | R1 | 
      309 | 
    
    
      | R2 | 
      311 | 
    
    
      | Share | 
      312 | 
    
    
      | Options | 
      313 | 
    
    
      | PS | 
      316 | 
    
    
      | L3 | 
      314 | 
    
    
      | R3 | 
      315 | 
    
    
      | Touchpad | 
      317 |