Code Monkey home page Code Monkey logo

Comments (4)

h-youhei avatar h-youhei commented on September 23, 2024

Difference for symbols between us and jis keyboard

us shift jis shift
2 @ 2 "
6 ^ 6 &
7 & 7 '
8 * 8 (
9 ( 9 )
0 ) 0
- _ - =
= + ^ ~
; : ; +
' " : *
[ { @ `
] } [ {
\ | ] }
` ~ 半/全
\ _
\ |

from qmk_keymap.

h-youhei avatar h-youhei commented on September 23, 2024

remapping shift side keycode in process_record doesn't work with mod tap.
With mod tap for mod, I can't recognize whether mod is pressed by get_mods().
With mod tap for tap, tapping process doesn't call process_record. However, in the action_tapping.c, it seems that process_record is called in tapping process.

from qmk_keymap.

h-youhei avatar h-youhei commented on September 23, 2024

tmk_core/common/action.c:process_record
do nothing in process_record_quantum
go into process_action

tmk_core/common/action.c:process_action
case L_ACT_LMODS etc
default
if tap_count>0
if pressed register_code
else unregister_code

tmk_core/common/action_tapping.c:process_tapping
record->tap.count is set to greater than 0 if the mod tap key is tapping

from qmk_keymap.

h-youhei avatar h-youhei commented on September 23, 2024

In process_record_user
case MOD_T(KEYCODE)
if record->tap.count>0
do what I want
return false
else return true

from qmk_keymap.

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.