Coder Social home page Coder Social logo

Comments (10)

leperjulien avatar leperjulien commented on June 26, 2024

So here is what i was able to come up with :
https://github.com/leperjulien/LOGITacker/blob/master/logitacker/logitacker_keyboard_map.h
And also two small changes here 馃憤
https://github.com/leperjulien/LOGITacker/blob/master/logitacker/logitacker_keyboard_map.c

Now i just need to figure out how to compile it into a valid uf2 file 馃槆

Any tips would be nice

from logitacker.

Mera-balou avatar Mera-balou commented on June 26, 2024

Hey @leperjulien, i also want to add a language. Did you manage to compile uf2 file with azerty support?

from logitacker.

leperjulien avatar leperjulien commented on June 26, 2024

Yes i managed to do it thanks to @mame82 who put me on the right track when i asked him on twitter !

you can find the compiled firmware in the fork of LOGITacker on my github if you need further help let me know

from logitacker.

learningsomethingnewanduseful avatar learningsomethingnewanduseful commented on June 26, 2024

@leperjulien i do like to know how did u manage to do it. could you add it here so anyone else who likes to know can find it.

from logitacker.

cHJlaXpoZXI avatar cHJlaXpoZXI commented on June 26, 2024

Hi leperjulien,

Thanks for the work for the French language. Can you give the method to compile? @mame82 has released the 2.1 beta version, and I want with the French keyboard compatibility.

Thanks in advance ;)

from logitacker.

leperjulien avatar leperjulien commented on June 26, 2024

Sure you need to download this script : https://raw.githubusercontent.com/microsoft/uf2/master/utils/uf2conv.py

And next you will navigate to : LOGITacker/apr-dongle/blank/armgcc/

Next you want to type : make and hit enter ! When the build is finish you should have a new folder named _build.

Put the file named uf2conv.py you download earlier in the same folder as the .hex file you just builded and then use this command to conver the .hex to .uf2 :

python uf2conv.py logitacker_aprdongle.hex -c -f 0xADA52840 -o firmware.uf2

New firmware is now here => firmware.uf2

All the credits for this goes to @mame82 :D

EDIT: fond this during a quick search => #4

from logitacker.

mame82 avatar mame82 commented on June 26, 2024

Guys, here's a commit containing a layout addition for DA.

You might find it useful, as it shows which parts of code have to be touched:

f44c0c1

from logitacker.

sogewasp avatar sogewasp commented on June 26, 2024

I've managed to make it compile and work with the added FR language (a lot of work was already done by @leperjulien).

Anyway this line seems to break compilation:

// French                                                                                                             

DEF_REPORT_SEQUENCE_RALT_AND_EQUAL(RALT_AND_EQUAL,    禄路路 DEF_REPORT(HID_MOD_KEY_RIGHT_ALT, HID_KEY_EQUAL));

Gives this error:

../../../logitacker/logitacker_keyboard_map.h:240:37: error: expected ')' before '{' token
 #define DEF_REPORT_1(modifier,key1) { .mod = modifier, .keys = { key1 } }

So I've just commented it. I don't think it changes that much as another line is already present from DA config :

DEF_REPORT_SEQUENCE_NAMED(US_RALT_AND_EQUAL,禄路路路禄路路路禄路路路         DEF_REPORT(HID_MOD_KEY_RIGHT_ALT, HID_KEY_EQUAL));

The pull request which adds this feature is #44

from logitacker.

FMehault avatar FMehault commented on June 26, 2024

This little message to inform you that I just managed to add FR keyboard support on LOGITacker v0.2.3-beta, inspired by @leperjulien's work and with @mame82's indications. Many thanks to them.

I've made some modifications to the following files :

https://github.com/FMehault/LOGITacker/blob/LOGITackerFR/logitacker/logitacker_keyboard_map.h
https://github.com/FMehault/LOGITacker/blob/LOGITackerFR/logitacker/logitacker_keyboard_map.c

The covert_channel is functional with "option inject language fr". Sharplock too !

from logitacker.

FMehault avatar FMehault commented on June 26, 2024

I compiled the azerty keyboard support for all dongles

https://github.com/FMehault/LOGITacker/tree/master/build

from logitacker.

Related Issues (20)

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.