Hello, I have a question: My mouse has special but...
# compose-desktop
c
Hello, I have a question: My mouse has special buttons for "go back" and "go forward". Is there a way in Compose to intercept them and add behaviour for them?
b
You mean side buttons? They have dedicated mapped keys that you can bind on. I think it's MB4 and MB5 (MB3 being wheel click)
i
You can check them using
mouseClickable
and
buttons.isBackPressed
,
buttons.isForwardPressed