Skip to content

Commit

Permalink
Remove libkrbn_device_identifiers_is_apple
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Oct 30, 2023
1 parent c75bd72 commit 1f775ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions src/lib/libkrbn/include/libkrbn/libkrbn.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ void libkrbn_get_momentary_switch_event_usage_name(char* buffer, size_t length,
void libkrbn_get_modifier_flag_name(char* buffer, size_t length, int32_t usage_page, int32_t usage);
void libkrbn_get_simple_modification_json_string(char* buffer, size_t length, int32_t usage_page, int32_t usage);

// device_identifiers

bool libkrbn_device_identifiers_is_apple(const libkrbn_device_identifiers* p);

//
// libkrbn_core_configuration
//
Expand Down
7 changes: 0 additions & 7 deletions src/lib/libkrbn/src/libkrbn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,6 @@ void libkrbn_get_simple_modification_json_string(char* buffer, size_t length, in
}
}

bool libkrbn_device_identifiers_is_apple(const libkrbn_device_identifiers* p) {
if (p) {
return libkrbn_cpp::make_device_identifiers(*p).is_apple();
}
return false;
}

//
// version_monitor
//
Expand Down

0 comments on commit 1f775ac

Please sign in to comment.