MCPcopy
hub / github.com/SurgeDM/Surge / GetKeyMapConfigPath

Function GetKeyMapConfigPath

internal/config/keymaps.go:208–210  ·  view source on GitHub ↗

GetKeyMapConfigPath returns the path to the Keymaps JSON file.

()

Source from the content-addressed store, hash-verified

206
207// GetKeyMapConfigPath returns the path to the Keymaps JSON file.
208func GetKeyMapConfigPath() string {
209 return filepath.Join(GetSurgeDir(), "keymap.json")
210}
211
212// LoadKeyMap loads the keymap configuration from file.
213func LoadKeyMap() (*KeyMap, error) {

Callers 6

InitialRootModelFunction · 0.92
UpdateMethod · 0.92
root.goFile · 0.92
LoadKeyMapFunction · 0.85
SaveKeyMapFunction · 0.85

Calls 1

GetSurgeDirFunction · 0.85

Tested by 1