import type { Player } from "liqvid" ; export default ( player ) => { const { keymap , script } = player ; for ( const h of keymap . getHandlers ( "ArrowLeft" ) ) keymap . unbind ( "ArrowLeft" , h ) ; for ( const h of keymap . getHandlers ( "ArrowRight" ) ) keymap . unbind ( "ArrowRight" , h ) ; keymap . bind ( "ArrowRight" , script . forward ) ; } ;