40 #ifndef __DEV_PS2_HH__
41 #define __DEV_PS2_HH__
76 Bitfield<0> leftButton;
93 std::list<uint8_t> &
keys);
96 #endif // __DEV_PS2_HH__
BitUnion8(Ps2MouseMovement) Bitfield< 0 > leftButton
A bitfield that represents the first byte of a mouse movement packet.
EndBitUnion(Ps2MouseMovement) void keySymToPs2(uint32_t key
Convert an x11 key symbol into a set of ps2 charecters.
Bitfield< 1 > rightButton
Bitfield< 2 > middleButton
bool bool std::list< uint8_t > & keys
void keySymToPs2(uint32_t key, bool down, bool &cur_shift, std::list< uint8_t > &keys)