UP | HOME

My agenda

Table of Contents

Currently working on

Things that I am currently trying to solve or playing around.

TODO Allow to send UTF-8 codes through uinput in Linux

Future Tasks

These are things/bugs that I found. I am really interesting in solving them. I hope to have the time and knowledge to do it!

TODO Meson: It does not shown where a program timed out or interrupted.

  • Note taken on [2024-09-19 Thu 23:07]
    I found this error while trying to add UTF support to uinput.

    Exchange the next function for that same snippet:

    LIBEVDEV_EXPORT int
    libevdev_event_type_get_max(unsigned int type)
    {
        if (type == EV_UNICODE)
            return 0x7fffffff;
    
            if (type > EV_MAX)
                    return -1;
    
            return ev_max[type];
    }
    

    Looks like the tests try to output all the possible codes and that is why it takes so long. It times out and then it is not shown where it failed.

    To run the snippet a EVUNICODE event should be added, but it could be changing any evmax type to a long enough value to time out the process. I would like to write in a more abstract way, but I do not have time :p, this is just a reminder.

    For interruption, just try to run the tests and then interrupt while it is running.