Comments (27)
will fix ctrl <-> cmd button on mac
undo/redo already implemented but with only CTRL button
from tic-80.
sure for ctrl+z and ctrl=y on mac version?
because it's doesn't work for me.
I have a AZERTY keyboard
from tic-80.
hmm, CTRL+z/y works on my virtual machine
in Code Editor and Sprite Editor
needs investigation...
from tic-80.
I test the others Hotkeys, all I'ts ok except ctrl+z and ctrl+y.
I can't test ctrl+~ because ~ is alt+n for us. but I think its works for others keyboards versions
from tic-80.
I added CMD button support. Could you pls test it?
https://1drv.ms/u/s!AlYcILUh3RFajMFesAOTcLJZl15q9Q
Thanks
from tic-80.
Hi,
I test Cmd button it works with cmd+c, cmd+v ;-)
Undo Redo with cmd or ctrl doesn't work :-(
from tic-80.
Made another fix for undo/redo
Please check it
https://1drv.ms/u/s!AlYcILUh3RFajMFfgO4DM1qU2cwjmQ
from tic-80.
no always not :/
from tic-80.
And last one https://1drv.ms/u/s!AlYcILUh3RFajMFgP9a90DNYO7aHcA
Don't have ideas anymore :(
from tic-80.
Unfortunately it doesn't work :-(
maybe your virtual machine distorts the results...
from tic-80.
Could you just fo test put two buttons on the interface one for undo, one for redo to see if the cause is the hotkey or the system?
from tic-80.
Added test undo/redo buttons to the toolbar https://1drv.ms/u/s!AlYcILUh3RFajMFhc_5YKkBPwSWAjQ
Please check it
from tic-80.
Hi,
It works very well with undo redo buttons
mmm...
from tic-80.
maybe try test with a other combinaison hotkeys? I know isn't the best but just to try help you found the bug
from tic-80.
I created a test screen, just hold cmd+z/y buttons and tell me what codes do you see.
https://1drv.ms/u/s!AlYcILUh3RFajMFisTJBCCFcq4c0fw
from tic-80.
I see ctrl: 224, z: 26 , y:28, cmd:227
from tic-80.
When you press CMD+Z do you see both codes (227,26) at the same time or something else?
from tic-80.
this is a screenshot,
when I press cmd+z
from tic-80.
Please try this https://1drv.ms/u/s!AlYcILUh3RFajMFp85SbNl1N8X2rOg
from tic-80.
So I test,
it doesn't work.
On the other hand, I have a bizarre behavior. if I use the undo button on the editor and make cmd+Y the redo the hotkey works but only for the redo .
but after If I try undo with the Hotkey CMD+Z it doesn't works
from tic-80.
ok, what is going on when you press cmd+w instead cmd+z?
from tic-80.
It works with CMD + W !!!!!! :-D
from tic-80.
Hum! undo works with CMD + W :-)
from tic-80.
gotcha :) will make a test soon
from tic-80.
a test should work with AZERTY keyboard
https://1drv.ms/u/s!AlYcILUh3RFajMFqNczY9Z5mSn0N8w
from tic-80.
Great !!!! It works!!
Now you need to handle the others cultures/localisation of keyboard.
But we see the end of tunnel.
You can close this issue ;-)
from tic-80.
fixed
from tic-80.
Related Issues (20)
- Associate .tic files with TIC-80 on macOS
- TIC-80 doesn't start properly on Windows XP unless forced to `--soft` HOT 1
- New release soon / more frequent releases? HOT 4
- The "X button to enter surf" needs a better input check HOT 6
- Better import screen error messages HOT 1
- Tiles in map editor does not update after editing tile HOT 1
- Scaling issue on web export on mobile
- Native Apple Silicon version and Black Borders
- `--fs` accepts files, not just folders; errors follow
- Command line not fully visible when using past commands HOT 2
- [Libretro] iOS support HOT 2
- Using surf, 'close game' should go back to surf and not console HOT 1
- Mouse sprite and ram aren't linked HOT 1
- keyword 'of' in javascript is not colored
- Segmentation fault HOT 6
- Segfault when saving after running HOT 7
- cccccbcrknfjjukihcdgfkchudgregenkrjrldtvjdfl
- tic80 behaves differently when run from source checkout HOT 3
- Keys getting stuck when grabbing the window
- PCM channel not working on exported builds HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tic-80.