pcb 4.1.1
An interactive printed circuit board layout editor.

hid_resource.h File Reference

#include "resource.h"
Include dependency graph for hid_resource.h:

Go to the source code of this file.

Defines

#define M_Shift   1
#define M_Ctrl   2
#define M_Mod(n)   (1<<(n+1))
#define M_Alt   M_Mod(1)
#define M_Multi   M_Mod(2)
#define M_Release   (~((unsigned)-1>>1))

Functions

void load_mouse_resource (const Resource *res)
void do_mouse_action (int button, int mods)

Define Documentation

#define M_Alt   M_Mod(1)
#define M_Ctrl   2
#define M_Mod (   n)    (1<<(n+1))

Definition at line 9 of file hid_resource.h.

Referenced by parse_mods().

#define M_Multi   M_Mod(2)
#define M_Release   (~((unsigned)-1>>1))
#define M_Shift   1

Function Documentation

void do_mouse_action ( int  button,
int  mods 
)
void load_mouse_resource ( const Resource res)