Commit Graph

10 Commits

Author SHA1 Message Date
yunwei37
277ecbaf9d Add HID-BPF tutorial and implementation for virtual mouse input modification
- Introduced a comprehensive tutorial in README.md explaining how to fix broken HID devices using eBPF without kernel patches.
- Implemented a userspace program (hid-input-modifier.c) that creates a virtual HID mouse using the uhid interface and sends synthetic mouse events.
- Developed a BPF program (hid-input-modifier.bpf.c) that intercepts HID events and modifies mouse movement data, effectively doubling the X and Y movement.
- Created necessary header files (hid_bpf.h, hid_bpf_defs.h, hid_bpf_helpers.h) to define structures and helper functions for the BPF program.
- Added functionality to find and manage the virtual HID device, ensuring seamless integration with the BPF program.
2025-10-05 22:40:58 -07:00
Yusheng Zheng
049b40d222 rename README to chinese documents 2024-10-20 07:20:38 +00:00
云微
7134d52f4e Add link to English Webiste (#60)
* lint eng doc 1-4

* update link to our website

* update link to eng websize

* fix unintentional space
2023-08-15 17:39:25 +08:00
云微
a53481d131 fix docker image content and add basic CI check (#41)
Replace
```
docker run -it -v `pwd`/:/src/ yunwei37/ebpm:latest
```
with:
```
docker run -it -v `pwd`/:/src/ ghcr.io/eunomia-bpf/ecc-`uname -m`:latest
```

Add a basic CI check for the hello world BPF program.
2023-06-15 16:36:22 +08:00
yunwei37
9f29c04edf update memleak 2023-06-03 06:18:02 +08:00
yunwei37
d995c6a6f8 fix the link to tutorial 2023-06-03 06:18:02 +08:00
yunwei37
e9fbd43a59 fix document style violations 2023-05-30 20:28:21 +08:00
CH3CHOHCH3
4343fd8e17 add lsm tutorial (#27) 2023-04-23 19:04:49 +08:00
云微
8a080f4178 Improve hello world and add template documents (#16)
* rename ecli to ecli run

* improve hello world document

* update template documents

* update bcc link
2023-03-24 02:56:29 +08:00
ocfox
52ae3ae26d feat: deploy static web with mdbook (#11) 2023-03-09 11:36:23 +08:00