Description: STM32 own examples of modified mouse, as long as you can modify the corresponding GPIO
To Search:
File list (Check if you may need any files):
USB_Joystick\FWLib\inc\cortexm3_macro.h
............\.....\...\stm32f10x_adc.h
............\.....\...\stm32f10x_bkp.h
............\.....\...\stm32f10x_can.h
............\.....\...\stm32f10x_crc.h
............\.....\...\stm32f10x_dac.h
............\.....\...\stm32f10x_dbgmcu.h
............\.....\...\stm32f10x_dma.h
............\.....\...\stm32f10x_exti.h
............\.....\...\stm32f10x_flash.h
............\.....\...\stm32f10x_fsmc.h
............\.....\...\stm32f10x_gpio.h
............\.....\...\stm32f10x_i2c.h
............\.....\...\stm32f10x_iwdg.h
............\.....\...\stm32f10x_lib.h
............\.....\...\stm32f10x_map.h
............\.....\...\stm32f10x_nvic.h
............\.....\...\stm32f10x_pwr.h
............\.....\...\stm32f10x_rcc.h
............\.....\...\stm32f10x_rtc.h
............\.....\...\stm32f10x_sdio.h
............\.....\...\stm32f10x_spi.h
............\.....\...\stm32f10x_systick.h
............\.....\...\stm32f10x_tim.h
............\.....\...\stm32f10x_type.h
............\.....\...\stm32f10x_usart.h
............\.....\...\stm32f10x_wwdg.h
............\.....\src\stm32f10x_adc.c
............\.....\...\stm32f10x_bkp.c
............\.....\...\stm32f10x_can.c
............\.....\...\stm32f10x_crc.c
............\.....\...\stm32f10x_dac.c
............\.....\...\stm32f10x_dbgmcu.c
............\.....\...\stm32f10x_dma.c
............\.....\...\stm32f10x_exti.c
............\.....\...\stm32f10x_flash.c
............\.....\...\stm32f10x_fsmc.c
............\.....\...\stm32f10x_gpio.c
............\.....\...\stm32f10x_i2c.c
............\.....\...\stm32f10x_iwdg.c
............\.....\...\stm32f10x_lib.c
............\.....\...\stm32f10x_nvic.c
............\.....\...\stm32f10x_pwr.c
............\.....\...\stm32f10x_rcc.c
............\.....\...\stm32f10x_rtc.c
............\.....\...\stm32f10x_sdio.c
............\.....\...\stm32f10x_spi.c
............\.....\...\stm32f10x_systick.c
............\.....\...\stm32f10x_tim.c
............\.....\...\stm32f10x_usart.c
............\.....\...\stm32f10x_wwdg.c
............\Project\asm\cortexm3_macro.s
............\.......\...\stm32f10x_vector.s
............\.......\inc\hw_config.h
............\.......\...\platform_config.h
............\.......\...\stm32f10x_conf.h
............\.......\...\stm32f10x_it.h
............\.......\...\usb_conf.h
............\.......\...\usb_desc.h
............\.......\...\usb_istr.h
............\.......\...\usb_prop.h
............\.......\...\usb_pwr.h
............\.......\RVMDK\JLink Regs CM3.txt
............\.......\.....\JLinkLog.txt
............\.......\.....\JLinkSettings.ini
............\.......\.....\USB_Joystick.plg
............\.......\.....\USB_Joystick.uvopt
............\.......\.....\USB_Joystick.uvproj
............\.......\.....\USB_Joystick_STM32F103RBT6.dep
............\.......\.....\USB_Joystick_Target 1.dep
............\.......\.....\USB_Joystick_uvopt.bak
............\.......\.....\USB_Joystick_uvproj.bak
............\.......\src\hw_config.c
............\.......\...\main.c
............\.......\...\stm32f10x_it.c
............\.......\...\usb_desc.c
............\.......\...\usb_istr.c
............\.......\...\usb_prop.c
............\.......\...\usb_pwr.c
............\USBLib\inc\usb_core.h
............\......\...\usb_def.h
............\......\...\usb_init.h
............\......\...\usb_int.h
............\......\...\usb_lib.h
............\......\...\usb_mem.h
............\......\...\usb_regs.h
............\......\...\usb_type.h
............\......\src\usb_core.c
............\......\...\usb_init.c
............\......\...\usb_int.c
............\......\...\usb_mem.c
............\......\...\usb_regs.c
............\Project\RVMDK\List
............\.......\.....\Obj
............\FWLib\inc
............\.....\src
............\Project\asm
............\.......\inc
............\.......\RVMDK
............\.......\src