/* * The IOGear Kaliber Gaming MMOmentum Pro mouse has multiple buttons (12) * but only 5 are accessible out of the box because the report descriptor * marks the other buttons as constants. * We just fix the report descriptor to enable those missing 7 buttons.
*/
SEC("syscall") int probe(struct hid_bpf_probe_args *ctx)
{ /* only bind to the keyboard interface */
ctx->retval = ctx->rdesc_size != 213; if (ctx->retval)
ctx->retval = -EINVAL;
return 0;
}
char _license[] SEC("license") = "GPL";
Messung V0.5
¤ Dauer der Verarbeitung: 0.16 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.