What is the version of the following sentence with correct punctuation?

The preference mousewheelwithnokeyaction for instance defines the mousewheel action when it is used
The preference mousewheel.withnokey.action for instance defines the mousewheel action when it is used.