Skip to content
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

Added TGR Alice keyboard support #4896

Merged
merged 3 commits into from
Jan 21, 2019
Merged

Added TGR Alice keyboard support #4896

merged 3 commits into from
Jan 21, 2019

Conversation

fcoury
Copy link
Contributor

@fcoury fcoury commented Jan 21, 2019

This keyboard uses ps2avrGB firmware, so I used the same matrix
Bootmapper Client was using and was able to flash it appropriately.

Description

Added TGR Alice keyboard support

Types of changes

  • Core
  • Bugfix
  • New Feature
  • Enhancement/Optimization
  • Keyboard (addition or update)
  • Keymap/Layout/Userspace (addition or update)
  • Documentation

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document. (https://docs.qmk.fm/#/contributing)
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

This keyboard uses ps2avrGB firmware, so I used the same matrix
Bootmapper Client was using and was able to flash it appropriately.
@pelrun
Copy link
Contributor

pelrun commented Jan 21, 2019

I think this can be probably refactored to eliminate all the custom matrix code and just use the standard QMK core support. Let me take a look at it after work, I'll come up with a version you can test.

@fcoury
Copy link
Contributor Author

fcoury commented Jan 21, 2019

@pelrun that’d be amazing. Just let me know and I’ll be glad to retest.

@mechmerlin
Copy link
Contributor

@fcoury thanks for doing this. I started on this task too but I'm currently waiting on the resolution of #4034. Once that is resolved, we'll be able to just put in the pin names like how we do with AVR boards. As of now, the most "correct" way to write the custom matrix code, is as described in the panc60.

poking @jackhumbert in regards to the PR above. hint hint, nudge nudge, wink wink.

keyboards/alice/config.h Outdated Show resolved Hide resolved
keyboards/alice/config.h Outdated Show resolved Hide resolved
keyboards/alice/config.h Outdated Show resolved Hide resolved
keyboards/alice/i2c.c Outdated Show resolved Hide resolved
keyboards/alice/rules.mk Outdated Show resolved Hide resolved
keyboards/alice/README.md Outdated Show resolved Hide resolved
@pelrun
Copy link
Contributor

pelrun commented Jan 21, 2019

I've refactored it (mostly by deleting a lot of it...) so give it a try now:

https://github.com/pelrun/qmk_firmware/tree/tgr_alice

@fcoury
Copy link
Contributor Author

fcoury commented Jan 21, 2019

@pelrun I am really impressed with your cleanup, thank you so much! It worked flawlessly and it seems it also addresses all @drashna requests.

@drashna be welcome to do another pass and see if this is more in line with QMK standards now. Thanks you both!

keyboards/alice/readme.md Outdated Show resolved Hide resolved
keyboards/alice/readme.md Outdated Show resolved Hide resolved
keyboards/alice/readme.md Outdated Show resolved Hide resolved
@fcoury
Copy link
Contributor Author

fcoury commented Jan 21, 2019

@drashna all change requests were addressed AFAIK, let me know otherwise and thanks for your review!

@drashna
Copy link
Member

drashna commented Jan 21, 2019

Awesome, thanks!

@drashna
Copy link
Member

drashna commented Jan 21, 2019

@pelrun want to fix the default template and other ps2avrgb keyboards, too? :D

@drashna drashna merged commit 2cc674c into qmk:master Jan 21, 2019
@fcoury fcoury deleted the tgr_alice branch January 22, 2019 14:07
Shinichi-Ohki added a commit to Shinichi-Ohki/qmk_firmware that referenced this pull request Jan 24, 2019
* 'master' of https://github.com/qmk/qmk_firmware: (87 commits)
  [Keyboard] KBD67: enable bootmagic lite by default (qmk#4931)
  [Keymap] Adding keymap for Nyquist (qmk#4918)
  Optimize/Update the new_project script (qmk#4920)
  Remove lfkeyboards parent rules.mk as its only required for mini1800
  [Keyboard] Add BDN9 (qmk#4919)
  [Keyboard] Add KBD67 Hotswap Support (qmk#4916)
  Fixup the clueboard 66 info.json
  Clueboard refresh (qmk#4902)
  Give the keymap folder the proper name
  Fix layouts/default/66_iso keymap
  [Keyboard] Add DataHand keyboard support (qmk#4847)
  [Keymap] Add a compile-time provided macro and assign to _FL (qmk#4908)
  Added info.json for TGR Alice
  Always read two bytes from the endpoint if we have two bytes to read
  Rename i2c_slave functions so it can coexist with i2c_master (qmk#4875)
  Fix for ISO layout in tada68:rys (qmk#4906)
  [Keyboard] Added TGR Alice keyboard support (qmk#4896)
  handwired/retro_refit: refactor, Configurator support and readme update (qmk#4899)
  Initial fixes for vagrant (qmk#4900)
  Tidy up IS_{,HOST_}LED_{ON,OFF} macros (qmk#4894)
  ...
tenderlove added a commit to tenderlove/qmk_firmware that referenced this pull request Jan 24, 2019
* master: (643 commits)
  [Keyboard] Remove hadron ver0 as it is no longer required (qmk#4921)
  Remove unused fn_actions[] and action_function() in default keymaps (qmk#4829)
  [Keyboard] KBD67: enable bootmagic lite by default (qmk#4931)
  [Keymap] Adding keymap for Nyquist (qmk#4918)
  Optimize/Update the new_project script (qmk#4920)
  Remove lfkeyboards parent rules.mk as its only required for mini1800
  [Keyboard] Add BDN9 (qmk#4919)
  [Keyboard] Add KBD67 Hotswap Support (qmk#4916)
  Fixup the clueboard 66 info.json
  Clueboard refresh (qmk#4902)
  Give the keymap folder the proper name
  Fix layouts/default/66_iso keymap
  [Keyboard] Add DataHand keyboard support (qmk#4847)
  [Keymap] Add a compile-time provided macro and assign to _FL (qmk#4908)
  Added info.json for TGR Alice
  Always read two bytes from the endpoint if we have two bytes to read
  Rename i2c_slave functions so it can coexist with i2c_master (qmk#4875)
  Fix for ISO layout in tada68:rys (qmk#4906)
  [Keyboard] Added TGR Alice keyboard support (qmk#4896)
  handwired/retro_refit: refactor, Configurator support and readme update (qmk#4899)
  ...
zer09 pushed a commit to zer09/qmk_firmware that referenced this pull request Feb 2, 2019
* Added TGR Alice keyboard support

This keyboard uses ps2avrGB firmware, so I used the same matrix
Bootmapper Client was using and was able to flash it appropriately.

* Refactor alice to use QMK core

* Fixed markdown line breaks on TGR Alice readme
dlhextall pushed a commit to dlhextall/qmk_firmware that referenced this pull request May 24, 2019
* Added TGR Alice keyboard support

This keyboard uses ps2avrGB firmware, so I used the same matrix
Bootmapper Client was using and was able to flash it appropriately.

* Refactor alice to use QMK core

* Fixed markdown line breaks on TGR Alice readme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants