 917410a0a8
			
		
	
	
		917410a0a8
		
			
		
	
	
	
	
		
			
			* fbt: reworking targets & assets handling WIP * fbt: dist fixes * fbt: moved SD card resources to owning apps * unit_tests: moved resources to app folder * github: updated unit_tests paths * github: packaging fixes * unit_tests: fixes * fbt: assets: internal cleanup * fbt: reworked assets handling * github: unit_tests: reintroducing fixes * minor cleanup * fbt: naming changes to reflect private nature of scons tools * fbt: resources: fixed dist archive paths * docs: updated paths * docs: updated more paths * docs: included "resources" parameter in app manifest docs; updated assets readme * updated gitignore for assets * github: updated action versions * unit_tests: restored timeout; scripts: assets: logging changes * gh: don't upload desktop animations for unit test run Co-authored-by: あく <alleteam@gmail.com>
		
			
				
	
	
		
			37 lines
		
	
	
		
			827 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			827 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| #include "hid_usage_desktop.h"
 | |
| #include "hid_usage_button.h"
 | |
| #include "hid_usage_keyboard.h"
 | |
| #include "hid_usage_consumer.h"
 | |
| #include "hid_usage_led.h"
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| typedef struct {
 | |
|     uint16_t vid;
 | |
|     uint16_t pid;
 | |
|     char manuf[32];
 | |
|     char product[32];
 | |
| } FuriHalUsbCcidConfig;
 | |
| 
 | |
| typedef struct {
 | |
|     void (*icc_power_on_callback)(uint8_t* dataBlock, uint32_t* dataBlockLen, void* context);
 | |
|     void (*xfr_datablock_callback)(
 | |
|         const uint8_t* dataBlock,
 | |
|         uint32_t dataBlockLen,
 | |
|         uint8_t* responseDataBlock,
 | |
|         uint32_t* responseDataBlockLen,
 | |
|         void* context);
 | |
| } CcidCallbacks;
 | |
| 
 | |
| void furi_hal_ccid_set_callbacks(CcidCallbacks* cb);
 | |
| 
 | |
| void furi_hal_ccid_ccid_insert_smartcard();
 | |
| void furi_hal_ccid_ccid_remove_smartcard();
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 |