If you lack special buttons, you could also just buy a bigger keyboard (or a MIDI controller that sits on the table).
I used Behringer Xtouch Mini mapped to Lightroom. This allows tactile controls, and also lets you keep your eyes on the photo being edited, instead of the constant back and forth between the controls and the photo.
22:56:38.740 note_on channel=1 note=36 velocity=89 [nanoPAD2 PAD]
while IFS=' ' read -r line; do
if [[ "$line" == *"client"*"Launch Control"\* ]]; then
device=$(echo "$line" | cut -d' ' -f2)
fi
done < <(aconnect -i)
aseqdump -p ${device::-1} | while IFS=' ' read -r line; do
if [[ "$line" == *"Note on"* ]]; then
note=$(echo "$line" | grep -o "note [0-9]*" | cut -d' ' -f2)
if [ "$note" == "9" ]; then
wmctrl -s 8
fi
elif [[ "$line" == *"Control change"*"127" ]]; then
note=$(echo "$line" | grep -o "controller [0-9]*" | cut -d' ' -f2)
if [ "$note" == "114" ]; then
# some macro
fi
fi
done