Input.GetKeyDown doesn't work with several keys

For my game, I need to detect the pressing of the comma, period and minus key.

Input.GetKeyDown(KeyCode.Minus)
Input.GetKeyDown(KeyCode.Period)
Input.GetKeyDown(KeyCode.Comma)

None these return true when the key is pressed, despite detection of other keys working. I suspect it has something to do with the fact I have a German keyboard, but got no idea how to fix it. Help would be appreciated!

Try this in Update:

    void Update()
    {
        if(Input.GetKeyDown("."))
        {
            Debug.Log(". Pressed");
        }
        if (Input.GetKeyDown(","))
        {
            Debug.Log(", Pressed");
        }
        if (Input.GetKeyDown("-"))
        {
            Debug.Log("- Pressed");
        }
    }