Mir

MirMotionEvent fields lack documentation

Bug #1175362 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Invalid
Medium
Unassigned

Bug Description

MirMotionEvent fields lack documentation. I don't know what half of these really are...

typedef struct
{
    MirEventType type;

    int32_t device_id;
    int32_t source_id;
    MirMotionAction action;
    MirMotionFlag flags;
    unsigned int modifiers;

    int32_t edge_flags;
    MirMotionButton button_state;
    float x_offset;
    float y_offset;
    float x_precision;
    float y_precision;
    nsecs_t down_time;
    nsecs_t event_time;

    size_t pointer_count;
    struct
    {
        int id;
        float x, raw_x;
        float y, raw_y;
        float touch_major;
        float touch_minor;
        float size;
        float pressure;
        float orientation;
        float vscroll;
        float hscroll;
    } pointer_coordinates[MIR_INPUT_EVENT_MAX_POINTER_COUNT];
} MirMotionEvent;

Changed in mir:
status: New → Triaged
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
tags: added: input
tags: added: clientapi
Changed in mir:
status: Triaged → Won't Fix
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I think this code has since been deleted.

Changed in mir:
status: Won't Fix → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.