Skip to content

Remove unnecessary IF function - #67

Closed
Wegerich wants to merge 1 commit into
TaranVH:masterfrom
Wegerich:patch-2
Closed

Remove unnecessary IF function#67
Wegerich wants to merge 1 commit into
TaranVH:masterfrom
Wegerich:patch-2

Conversation

@Wegerich

Copy link
Copy Markdown
Contributor

The IF function that was previously here is unnecessary because LUA already checks whether a device is already matching the specified name when lmc_assign_keyboard('name'); is run. If the device is assigned then it will not ask for manual assignment.

The IF function that was previously here is unnecessary because LUA already checks whether a device is already matching the specified name when `lmc_assign_keyboard('name');` is run. If the device is assigned then it will not ask for manual assignment.
@0xebby

0xebby commented Jan 13, 2025

Copy link
Copy Markdown

there's conflict in your branch, probably due to a change you made to the IF.

@Wegerich
Wegerich marked this pull request as draft January 13, 2025 15:28
@Wegerich

Copy link
Copy Markdown
Contributor Author

Thanks for the heads up. Looks like I was running an old version of the repository when I made the pull request. I'm not very familiar with github so please forgive my mistake.

I made a new pull request here by directly editing the existing code: #181

@Wegerich Wegerich closed this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants