Lines Matching refs:writer

36 sixaxis_build_descriptor(HIDWriter &writer)  in sixaxis_build_descriptor()  argument
38 writer.BeginCollection(COLLECTION_APPLICATION, in sixaxis_build_descriptor()
46 writer.SetReportID(1); in sixaxis_build_descriptor()
49 writer.DefineInputPadding(1, 8); in sixaxis_build_descriptor()
52 writer.DefineInputData(19, 1, converter.main_data, 0, 1, in sixaxis_build_descriptor()
56 writer.DefineInputPadding(13, 1); in sixaxis_build_descriptor()
59 writer.DefineInputData(1, 8, converter.main_data, 0, 255, in sixaxis_build_descriptor()
61 writer.DefineInputData(1, 8, converter.main_data, 0, 255, in sixaxis_build_descriptor()
65 writer.DefineInputData(1, 8, converter.main_data, 0, 255, in sixaxis_build_descriptor()
67 writer.DefineInputData(1, 8, converter.main_data, 0, 255, in sixaxis_build_descriptor()
71 writer.DefineInputPadding(4, 8); in sixaxis_build_descriptor()
74 writer.DefineInputData(12, 8, converter.main_data, 0, 255, in sixaxis_build_descriptor()
78 writer.DefineInputPadding(15, 8); in sixaxis_build_descriptor()
81 writer.DefineInputData(3, 16, converter.main_data, 0, UINT16_MAX, in sixaxis_build_descriptor()
85 writer.DefineInputData(1, 16, converter.main_data, 0, UINT16_MAX, in sixaxis_build_descriptor()
88 return writer.EndCollection(); in sixaxis_build_descriptor()
93 elecom_build_descriptor(HIDWriter &writer) in elecom_build_descriptor() argument
204 return writer.Write(&patchedDescriptor, sizeof(patchedDescriptor)); in elecom_build_descriptor()
209 xbox360_build_descriptor(HIDWriter &writer) in xbox360_build_descriptor() argument
211 writer.BeginCollection(COLLECTION_APPLICATION, in xbox360_build_descriptor()
220 writer.DefineInputPadding(2, 8); in xbox360_build_descriptor()
223 writer.DefineInputData(11, 1, converter.main_data, 0, 1, in xbox360_build_descriptor()
225 writer.DefineInputPadding(1, 1); in xbox360_build_descriptor()
226 writer.DefineInputData(4, 1, converter.main_data, 0, 1, in xbox360_build_descriptor()
230 writer.DefineInputData(1, 8, converter.main_data, 0, 255, in xbox360_build_descriptor()
232 writer.DefineInputData(1, 8, converter.main_data, 0, 255, in xbox360_build_descriptor()
236 writer.DefineInputData(2, 16, converter.main_data, -32768, 32767, in xbox360_build_descriptor()
238 writer.DefineInputData(2, 16, converter.main_data, -32768, 32767, in xbox360_build_descriptor()
242 writer.DefineInputPadding(6, 8); in xbox360_build_descriptor()
244 return writer.EndCollection(); in xbox360_build_descriptor()