Giter Site home page Giter Site logo

tidbit's People

Contributors

aashreys avatar christanaka avatar fsargent avatar jaygreco avatar mcrosson avatar tsukinaki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tidbit's Issues

OLED Keymap Error

When attempting to compile the firmware for the OLED map QMK MSYS gives me the following error and I'm not sure how to go about fixing it

Compiling: keyboards/tidbit/keymaps/oled/keymap.c keyboards/tidbit/keymaps/oled/keymap.c:132:6: error: conflicting types for 'encoder_update_user' void encoder_update_user(uint8_t index, bool clockwise) { ^~~~~~~~~~~~~~~~~~~ In file included from quantum/quantum.h:204, from keyboards/tidbit/tidbit.h:3, from keyboards/tidbit/keymaps/oled/keymap.c:17: quantum/encoder.h:26:6: note: previous declaration of 'encoder_update_user' was here bool encoder_update_user(uint8_t index, bool clockwise);

Error when compling on QMK 0.13.19

I'm running into an error that seems to be related to recent changes made to the QMK repository. Error log is as follows;

QMK Firmware 0.13.19
Making nullbitsco/tidbit with keymap default

avr-gcc (GCC) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiling: drivers/avr/i2c_master.c                                                                 [OK]
Compiling: keyboards/nullbitsco/tidbit/bitc_led.c                                                   [OK]
Compiling: keyboards/nullbitsco/tidbit/remote_kb.c                                                  [OK]
Compiling: keyboards/nullbitsco/tidbit/tidbit.c                                                     [OK]
Compiling: keyboards/nullbitsco/tidbit/keymaps/default/keymap.c                                    keyboards/nullbitsco/tidbit/keymaps/default/keymap.c:85:6: error: conflicting types for ‘encoder_update_user’
 void encoder_update_user(uint8_t index, bool clockwise) {
      ^
In file included from quantum/quantum.h:204:0,
                 from keyboards/nullbitsco/tidbit/tidbit.h:3,
                 from keyboards/nullbitsco/tidbit/keymaps/default/keymap.c:17:
quantum/encoder.h:26:6: note: previous declaration of ‘encoder_update_user’ was here
 bool encoder_update_user(uint8_t index, bool clockwise);
      ^
 [ERRORS]
 |
 |
 |
make[1]: *** [tmk_core/rules.mk:436: .build/obj_nullbitsco_tidbit_default/keyboards/nullbitsco/tidbit/keymaps/default/keymap.o] Error 1
Make finished with errors
make: *** [Makefile:530: nullbitsco/tidbit:default] Error 1

If you check out the commit history of the encoder.h file you can see that encoder_update_user was switched from returning a void to now returning a bool.

https://github.com/qmk/qmk_firmware/commits/master/quantum/encoder.h

You can also see this reflected in the change log found here https://github.com/qmk/qmk_firmware/pull/13034/files#diff-af2d3d9adab6194cb4cd0b7c61426f10d1e36ade107af2f52d09539fefafdbf1R75

These changes were implemented in the git tag 0.12.52, rolling all the way back to 0.12.51 allows the firmware to build successfully.

If you are following along at home; instead of git cloneing the qmk_firmware repo you can download the 0.12.51 tagged release from this github page and build/flash as normal.

https://github.com/qmk/qmk_firmware/releases/tag/0.12.51

Inverted Encoder

I attempted to load the default keymap and the encoder in position 1, top row, appears to be inverted (i.e. clockwise decreases volume, cc increases).

Change OLED enable

OLED driver uses a different #define now: add "OLED_ENABLE = yes" and "OLED_DRIVER = SSD1306" to rules.mk.

NUMLOCK implementation is wrong

#Several keymaps spam the numlock key so that the numpad always working regardless of how numlock is set on the host. This seems to be causing some other issues. Examine a different way of accomplishing this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.