[haiku-development] c++ struct assignment like in c?

Hi,

just try to make the ps2 bus manager c++. Is there something in c++ similar to:

ps2_dev ps2_device[PS2_DEVICE_COUNT] = {
        {
                .name = "input/mouse/ps2/0",
                .active = false,
                .idx = 0,
                .result_sem = -1,
                .command = standard_command_timeout
        }
};

c++ complains about the dots :-(

thanks,
        Clemens

Other related posts: