Open KDE Configuration Center >> Hardware >> Device Actions (maybe my translation from Dutch to English is wrong, but it should be something like that

)
There you can add or edit an action... if that doesn't succeed, come back for more detailed instructions
