Compare commits
No commits in common. "5ab6aefa499a252b8d5312ba608766eed30864d6" and "573234295f779cbf9247b9297dfaad5a7e36f647" have entirely different histories.
5ab6aefa49
...
573234295f
8
Makefile
8
Makefile
@ -42,10 +42,4 @@ clean:
|
||||
.PHONY: run
|
||||
.SILENT: run
|
||||
run: all
|
||||
XDG_DATA_DIRS=./$(BUILD_DIR) ./$(BUILD_DIR)/$(NAME)
|
||||
|
||||
$(BUILD_DIR)/$(NAME).dbg: $(BUILD_DIR)/resource.c $(C_FILES) | $(BUILD_DIR)
|
||||
$(CC) $(CFLAGS) -g -o $@ $^ $(LDFLAGS)
|
||||
|
||||
debug: $(BUILD_DIR)/$(NAME).dbg $(BUILD_DIR)/drivers resources
|
||||
XDG_DATA_DIRS=./$(BUILD_DIR) gdb --args ./$(BUILD_DIR)/$(NAME).dbg
|
||||
XDG_DATA_DIRS=./$(BUILD_DIR) ./$(BUILD_DIR)/ginput
|
||||
|
@ -11,7 +11,7 @@ Drivers **must** expose the following symbols:
|
||||
void driver_init(); // Initialization
|
||||
uint32_t driver_getkey(); // Calls to this function must return USB keys that this driver registers, until 0
|
||||
|
||||
device_capacity_t driver_get_capacity(void* handle); // Returns device capacity (see below)
|
||||
device_type_t driver_get_capacity(); // Returns device capacity (see below)
|
||||
char* driver_get_name(void* handle); // Returns peripheral name
|
||||
char* driver_get_image(void* handle); // Returns peripheral image
|
||||
char* driver_get_manufacturer(void* handle); // Returns manufacturer name
|
||||
|
Loading…
Reference in New Issue
Block a user