-
Notifications
You must be signed in to change notification settings - Fork 531
Remove unnecessary IF function #181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Wegerich
wants to merge
7
commits into
TaranVH:master
Choose a base branch
from
Wegerich:patch-3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Corrected grammatical errors, fixed broken links, and added a Syntax Highlighting option for VSCode.
Updated link
Updated for iCue 5.7 The previous version broke terribly. It did not allow you to edit anything on the assignments page. NOTHING was selectable except the top entry (template). I rebuilt the profile for the new version by importing every key from the old profile by hand, and it now works properly for iCue 5.7. Further, there's an odd bug where sometimes if you reassign a key, another will become unassigned. Don't ask me why, I have no idea. I think It's an iCue bug rather than a profile bug. So, simply go ahead and reassign it after that happens and it should stick.
Update readme.md
Update K55_wrapped_in_F24.cueprofile
Update README.md
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.
Owner
|
Thanks, but I'm not gonna change it. The code, as it exists now, works,
from the last time I used it many years ago. I'm not gonna re-load and
re-test everything for a minor potential optimization. This is on github
mostly for people to copy it, not to contribute. I don't know how to turn
off contributions and I don't care to look, either...
…On Mon, Jan 13, 2025 at 7:36 AM Wegerich ***@***.***> wrote:
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.
------------------------------
You can view, comment on, or merge this pull request online at:
#181
Commit Summary
- bf187a9
<bf187a9>
Remove unnecessary IF function
File Changes
(1 file <https://github.com/TaranVH/2nd-keyboard/pull/181/files>)
- *M* LUAMACROS/SECOND_KEYBOARD_script_for_LUA_MACROS.lua
<https://github.com/TaranVH/2nd-keyboard/pull/181/files#diff-82a3cc78893dae946286268c3f4c590ca23fc96fab93dba57b700472f79ace87>
(5)
Patch Links:
- https://github.com/TaranVH/2nd-keyboard/pull/181.patch
- https://github.com/TaranVH/2nd-keyboard/pull/181.diff
—
Reply to this email directly, view it on GitHub
<#181>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD2MGX4OS5SVJTNHFF7KGSL2KPMOXAVCNFSM6AAAAABVC4GABOVHI2DSMVQWIX3LMV43ASLTON2WKOZSG44DIMZWGU4TCNQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Contributor
Author
|
That's totally fair enough. I appreciate you going to the trouble of making it available. I still use it all these years later. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.