This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /******************************************************************************* | |
| * File: trimui_corrected.c | |
| * | |
| * Changes vs previous: | |
| * - #define VENDOR_ID, PRODUCT_ID, VERSION_ID => 0x0000,0x0000,0x0001 | |
| * - Use ABS_Z, ABS_RZ instead of ABS_RX, ABS_RY | |
| * - If L2 or R2 pressed => emit additional "gas" or "brake" events | |
| * - Clamping from ±900 => ±32760 | |
| * - No repeated SYN if values are unchanged | |
| ******************************************************************************/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /******************************************************************************* | |
| * File: miyoostick.c | |
| * | |
| * Example userland joystick application: | |
| * - Sets up a virtual gamepad via /dev/uinput | |
| * - Opens /dev/ttyS1, reads stick frames, calibrates them | |
| * - Publishes the results as analog axes (two sticks) | |
| * - Provides a few example buttons | |
| * | |
| * Build (example): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Define the serial device | |
| SERIAL_DEVICE="/dev/ttyS5" | |
| SERIAL_OPEN_FLAG="/tmp/serial_device_opened" | |
| # Display LED mode descriptions and usage examples if no parameters are provided | |
| if [ $# -eq 0 ]; then | |
| echo "Usage: $0 <led_mode> <brightness_value> [<speed_value>|<r_value> <g_value> <b_value> [<joystick_r> <joystick_g> <joystick_b>]]" | |
| echo "LED Modes:" |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /dts-v1/; | |
| / { | |
| qcom,msm-id = <0x164 0x20001>; | |
| #size-cells = <0x02>; | |
| compatible = "qcom,kona-hdk\0qcom,kona\0qcom,hdk"; | |
| qcom,board-id = <0x1001f 0x01>; | |
| #address-cells = <0x02>; | |
| interrupt-parent = <0x01>; | |
| model = "Qualcomm Technologies, Inc. kona HDK"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <data> | |
| <partition label="ssd" physical_partition_number="0" start_sector="6" num_partition_sectors="2" type="2C86E742-745E-4FDD-BFD8-B6A7AC638772" guid="8235143A-D916-CD06-D647-366CA832A178" /> | |
| <partition label="nvdata1" physical_partition_number="0" start_sector="8" num_partition_sectors="256" type="97745ABA-135A-44C3-9ADC-05616173C25C" guid="5CD39848-3F74-6BD3-DF2C-D01F19490EBF" /> | |
| <partition label="nvdata2" physical_partition_number="0" start_sector="264" num_partition_sectors="256" type="97745ABA-135A-44C3-9ADC-05616173C26A" guid="3ACD772E-6208-21C1-6546-A7138178267B" /> | |
| <partition label="odm" physical_partition_number="0" start_sector="520" num_partition_sectors="128" type="BC1998CF-4992-4FAA-907A-23295A9AD930" guid="15F5F325-7D0D-6791-9E9B-08A43B4AE696" /> | |
| <partition label="ssign" physical_partition_number="0" start_sector="648" num_partition_sectors="128" type="25F4151D-AE02-4029-A510-827587B550AC" guid="387E72D2-9B3F-84F2-26DF-D6A1445CC093" /> | |
| <partition label="persis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <data> | |
| <partition label="nvdata1" physical_partition_number="0" start_sector="6" num_partition_sectors="384" type="97745ABA-135A-44C3-9ADC-05616173C25C" guid="0071C31D-8A3B-AB68-0F75-0A57E1C7461A" /> | |
| <partition label="nvdata2" physical_partition_number="0" start_sector="390" num_partition_sectors="384" type="97745ABA-135A-44C3-9ADC-05616173C26A" guid="D16EA6BD-E323-543A-C646-6720B9298DA9" /> | |
| <partition label="reserve1" physical_partition_number="0" start_sector="774" num_partition_sectors="1024" type="5AF99321-BBCC-5964-9149-CDFC21747701" guid="AB28140D-79DE-6AD4-51EA-8A0F147B3502" /> | |
| <partition label="reserve2" physical_partition_number="0" start_sector="1798" num_partition_sectors="1024" type="5AF99321-BBCC-5964-9149-CDFC21747702" guid="8CDCD16D-AE4C-0090-12F9-D4981D66B4B8" /> | |
| <partition label="persist" physical_partition_number="0" start_sector="2822" num_partition_sectors="8192" type="6C95E238-E343-4BA8-B489-8681ED22AD0B" guid="D4F5BB80-7B00-ED28-83ED-86AD36F3B73B" /> | |
| <pa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /dts-v1/; | |
| / { | |
| interrupt-parent = <0x01>; | |
| #address-cells = <0x02>; | |
| #size-cells = <0x02>; | |
| model = "Retroid Pocket Mini"; | |
| compatible = "retroid,rpmini\0qcom,sm8250"; | |
| qcom,msm-id = <0x164 0x20001>; | |
| qcom,board-id = <0x1001f 0x01>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /dts-v1/; | |
| / { | |
| cpuinfo_hardware = "Unisoc T820"; | |
| serial-number = "009186260e4c0e0c"; | |
| soc-manufacturer = "Spreadtrum"; | |
| #size-cells = <0x02>; | |
| compatible = "sprd,ums9620"; | |
| #address-cells = <0x02>; | |
| interrupt-parent = <0x01>; |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /dts-v1/; | |
| / { | |
| qcom,msm-id = <0x164 0x20001>; | |
| #size-cells = <0x02>; | |
| compatible = "qcom,kona-iot-hdk\0qcom,kona-iot\0qcom,hdk"; | |
| qcom,board-id = <0x1001f 0x01>; | |
| #address-cells = <0x02>; | |
| interrupt-parent = <0x01>; | |
| model = "Qualcomm Technologies, Inc. kona-iot HDK"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /dts-v1/; | |
| / { | |
| compatible = "rockchip,rk3562-evb\0rockchip,rk3562"; | |
| #address-cells = <0x02>; | |
| #size-cells = <0x02>; | |
| model = "Rockchip RK3562 Evaluation Board"; | |
| aliases { | |
| gpio0 = "/pinctrl/gpio@ff260000"; |