I am trying to customize the functionality for left/right keys in Swiper.js but I am unable to find a way to do this through the API ()
It seems that the API only allows you to disable/enable default actions:
mySwiper.keyboard.enabled // Whether the keyboard control is enabled
mySwiper.keyboard.enable() // Enable keyboard control
mySwiper.keyboard.disable() // Disable keyboard control