Can’t use < or >



  • Hi! The keyboard that i have is missing the keys to type "<" and ">", but it has macro support, so I have two keys that macro the key using ASCII codes (Alt + 60 and Alt + 62).

    It works like a charm in most applications (It works just fine in MSVS 2012) but in Qt Creator, it doesn't. It seems that Alt key triggers some functionality and my symbols end up printed elsewhere rather than in my code.

    Is there any workaround this?

    Thank you



  • [quote author="Cilof" date="1347806561"]
    Is there any workaround this?[/quote]

    Yes. Buy a proper keyboard for five bucks.



  • Thank you for your insightful response. It should be obvious that i want to keep this keyboard, there's nothing wrong with it, it's just that I'm in a different country and the language layout that I must use is missing those keys, so that's why I use Alt + n.

    Has anyone the knowledge to help?

    [quote author="DerManu" date="1347807044"][quote author="Cilof" date="1347806561"]
    Is there any workaround this?[/quote]

    Yes. Buy a proper keyboard for five bucks.[/quote]



  • Try to make a mapping in your operating system for it, instead of relying on the application.



  • I didn't know you could do that. I'm trying it, but the available keys that I have are not recognize but some programs, and one program I found recognizes them (KeyTweak) doesn't have < or > symbol!

    [quote author="Andre" date="1347807594"]Try to make a mapping in your operating system for it, instead of relying on the application.[/quote]



  • [quote author="Cilof" date="1347807168"]it's just that I'm in a different country and the language layout that I must use is missing those keys[/quote]

    Wow, what language/country is that? They seriously lock all their citizens/speakers from pretty much any programming, markup language and computer algebra systems? Sounds strange...



  • Seriously dude? Sounds strange, oh yeah I may be making this up, that's definitely what it is... You got me bro.

    I'm in X country and my keyboard comes from Y. I have to use layout X on a keyboard Y.

    Now, do you know any workaround or you were just impoverishing Qt forums for the sake of it?

    [quote author="DerManu" date="1347825822"][quote author="Cilof" date="1347807168"]it's just that I'm in a different country and the language layout that I must use is missing those keys[/quote]

    Wow, what language/country is that? They seriously lock all their citizens/speakers from pretty much any programming, markup language and computer algebra systems? Sounds strange...[/quote]



  • So next you'll say you have to use your screen backwards and complain that you're not seeing anything.

    You're trying to fix this from the wrong end. Your Keyboard-Layout-Language situation is the problem that needs fixing, and not by hacking some software macros.

    btw: QtCreator allows modifying the keyboard shortcuts. For example, ALT+0 is "ToggleSidebar". Remove all conflicting ALT shortcuts and see what happens.

    Oh yes, and calm down. I'm still interested in what country and language that is, by the way.



  • I already explained my situation and already acknowledged that the problem was on the keyboard, it's the very first thing that I said, period. I already imagined somebody could try to nudge me in the "keyboard fixing" direction, which is a no-go, so I specifically mentioned it to avoid everyone here losing time.

    I'm very calm, but some input is just ridiculous.

    [quote author="DerManu" date="1347826626"]
    btw: QtCreator allows modifying the keyboard shortcuts. For example, ALT+0 is "ToggleSidebar". Remove all conflicting ALT shortcuts and see what happens.
    [/quote]

    See, it's not that hard, even though I was planning on try it anyways. I guess there's not much more that can be done besides remapping my keys on the system.

    Thanks.



  • Well, to me you don't sound calm, especially with remarks like this:

    [quote author="Cilof" date="1347826075"]Seriously dude? Sounds strange, oh yeah I may be making this up, that's definitely what it is... You got me bro.[/quote]
    So indeed: calm down please.

    I am sorry, but your problem sounds strange. Indeed, to me, it still sounds like the first advice you got is the most valuable: get yourself a cheap-ass US/international keyboard and be done with it. You might even use them side by side.

    Anyway, trying to help you with your current situation. You might try a keyboard remapper. Google for it, or choose one of these http://www.makeuseof.com/tag/remap-keyboard-free-tools-windows/ You could also try to use windows macros. There are plenty of tools for that too. A macro could be just typing your special character, and you can assign it to a hotkey or keycombo. Anyway, both still sound way to complicated to me. I'd just get a keyboard that is useful for programming :-)



  • I do a lot more stuff than programming (which is the new thing i'm doing) and I do it in several languages (not all language use A to Z letters). I have this massive keyboard that is great for everything else i do which a normal keyboard can't offer, it just doesn't have < and >. It may sound weird but not everyone works the exact same way you are used to.

    I think i'll just try to disable the Alt + shortcuts of Qt so it doesn't interfere with the macros.

    [quote author="Andre" date="1347863782"]Well, to me you don't sound calm, especially with remarks like this:

    [quote author="Cilof" date="1347826075"]Seriously dude? Sounds strange, oh yeah I may be making this up, that's definitely what it is... You got me bro.[/quote]
    So indeed: calm down please.

    I am sorry, but your problem sounds strange. Indeed, to me, it still sounds like the first advice you got is the most valuable: get yourself a cheap-ass US/international keyboard and be done with it. You might even use them side by side.

    Anyway, trying to help you with your current situation. You might try a keyboard remapper. Google for it, or choose one of these http://www.makeuseof.com/tag/remap-keyboard-free-tools-windows/ You could also try to use windows macros. There are plenty of tools for that too. A macro could be just typing your special character, and you can assign it to a hotkey or keycombo. Anyway, both still sound way to complicated to me. I'd just get a keyboard that is useful for programming :-)
    [/quote]


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.