L2
On foot: Zoom in/out
Starship: Brake
R2
On foot: Shoot
Starship: Accelerate
L1
On foot: Throw grenade
Starship: Rotate left
R1
On foot: Melee attack
Starship: Rotate right
D-Pad Down
Starship: Galactic Map
O
On foot: Scan
Starship: Boost
X
On foot: Jump
Starship: Shoot
[ ]
On foot: Reload
Starship: Exit starship
^
On foot: Toggle weapon mode (mining/shooting)
Left Stick
On foot: Move around
Starship: Turn/Pitch
Right Stick: Look around
L3
On foot: open Menu
R3
On foot: Run
Touchpad: Item case
OPTIONS: Discovery/Option
3 buttons (D-Pad Up, Left & Right) are left unused).
IIRC, Jump Drive is activated by pressing R1+L1, but it's not in the photo.
Notice that the Galactic map can be displayed only when we're on our ship, while the Menu (whatever menu it's toggle by L
can be opened only when we're on foot.