Skip to main content
1 of 2

How to access the Kemap settings Preferences (Spacebar Action, Select Mouse button, etc) with python?

I use a python script to set up some startup preferences like this:

bpy.context.preferences.view.show_tooltips_python = True

However, there is a particular set of preferences I don't know how to access, the ones in the Keymap section where you specify what spacebar does, what mouse click you use to select, etc.

How can I access these settings?

enter image description here